You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, you need to set an URLs of your backend where callbacks request will be sent. This action is available in the Sources section, you need to choose your video source then set up two URL:
Person meta info callback URL
Person visit callback URL
Event types
PersonChanged - will be sent to the Person meta info callback URL.
Person's identifier. Person will be created based on face tracklets
NearestPersons
List of similar person's identifiers
IsPersonified
Flag, shows the state of tracklet identification
AvatarHash
Hash of the best face image
Tracks
List of the person detection events. Field contains:
Bbox - List of the face coordinates (x,y pixels) on video frame.
Timestamp - time of detection event
Pts - Presentation Time Stamp of frame
FromTs
Event start time
ToTs
Event end time
BestFaceScore
Face image quality score (from 0 to 1)
Faceter Fog integration
RecognitionEvent processing
When you need to get best face image (avatar) your backend should return success response with HTTP code 200 (OK):
"avatarCallbackUrl": "http://localhost/avatar"
Title
Description
AvatarCallbackUrl
URL which will listen to HTTP POST method of best face image
The best face image will be sent to avatarCallbackUrl with query-parameters avatarHash, personId, projectId, which contains in RecognitionEvent.
Your backend should return HTTP code 204 (NoContent).
If you do not need the best face image, it should return the HTTP code 204 (NoContent).
PersonChanged processing
Your backend should return the HTTP code 204 (NoContent).