People Detection

Get live audience info

GET /live-people-insights

Get live informations about the audience (if present) in front of the face detection cam. If isGenderDetectionCompleted parameter is True (approx. 1s needed, since the first face detection), gender and age parameters are populated. They're set to null otherwise.

liveCount: Number of people detected in front of the cam

isGenderDetectionCompleted: Tells if the algorithm already completed gender-age inference on the audience.

gender:

  • 0: Female

  • 1: Male

age:

  • 0: 18-25 y/o

  • 1: 25+ y/o

Response

{
  "liveCount": <int>,
  "isGenderDetectionCompleted": <bool>,
  "gender": <int>,
  "age": <int>
}

Last updated