Misty Community Forum

Get output from FaceDetection

Hello everyone,
I’m using the command on Python:

API_ENDPOINT = ‘http://myip/api/faces/detection/start
r = requests.post(url = API_ENDPOINT)
data = r.json()

The only information that I get from data are “result” and “status”. I need to know if Misty has detected a face or not. Is there a way to know that?

I believe that is just to start face detection. You’ll want to check the websocket for the face detection events.