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
In threaded single-face mode (not yet tested in non-threading), if software loads with no face facing the camera, OpenFace thinks there is always a face that is active even though none are present. This stops OpenFace being able to detect new faces as single-face limits it to only one.
How to test:
Start software
As loading look at camera
OpenFace should behave as expected
Start software
Do not look at camera on load
OpenFace will not detect any actual faces
The text was updated successfully, but these errors were encountered:
^ I think the face detection shows up as expected.
From what you describe it is possible that OpenFace is seeing something else that resembles a face in the scene when you start the app. In this case you can use oft.openFace.face.certainty > 0.2 to filter out the unlikely detections. However, this should not prevent OpenFace from switching to another, real face later. Maybe try blocking out the region of the false-positive with an object, and I think the detection will snap to the actual face. (If the goal is to detect a real face in a room full of face-like objects with single-face mode, then we need use some hacks :)
Dug a little deeper, it looks like when in single face mode the active face is always set to true. Based on your suggestion I've changed it to only use a face based on the certainty value, not if the active boolean is true.
In threaded single-face mode (not yet tested in non-threading), if software loads with no face facing the camera, OpenFace thinks there is always a face that is active even though none are present. This stops OpenFace being able to detect new faces as single-face limits it to only one.
How to test:
Start software
As loading look at camera
OpenFace should behave as expected
Start software
Do not look at camera on load
OpenFace will not detect any actual faces
The text was updated successfully, but these errors were encountered: