- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can I detect if someone is looking forward (even if their head is tilted or turned up/right/down/left) using eye landmark information say "landmark_eye_right_center" or something like "landmark_group_left_eye"?
I am asking this because I was using expression_eyes_up along with eyes_turn_left/right and writing functions for seeing if head is turning up/down/right/left or tilted left/right and still it is not precise at all to detect if someone is looking forward. I wonder if using eye landmark information directly would be more precise? however if that is the answer, I could find no single code sample that makes use of this info. I wonder if someone can walk me through a sample code that uses landmark (or other info) for looks forward detection.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I guess you can always check the position of the eyes, and if they are both horizontally aligned, and at a maximum distance, the person is looking forward.
Otherwise, if you are tracking a full 3D model of the head (which could be done by getting the head pose from face landmarks), then it should be straight forward to know if it is looking straight to the camera.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page