Predicts when pedestrian is engaging with camera based on facial keypoints via binary classification.
Deploys browser site to livestream predictions via Flask (app.py for deployment from PC, ros_web_docker/pub_stream.py for deployment with ROS publishing).
-
A. Nose-Eye Offset
- Ratio of horizontal distance from eye center to nose and eye distance.
-
B. Ear-Nose Offset
- Ratio between perpendicular distance from earline to nose and earline length.
- earline = [
Left Ear -- Right Ear]
- earline = [
- Ratio between perpendicular distance from earline to nose and earline length.
-
C. Nose-Eyeline Ratio
- Ratio between Pythagorean distances of [
Left Eye -- Nose] and [Right Eye -- Nose].
- Ratio between Pythagorean distances of [
-
D. Number of Ears [0~2]
- Number of ears confidently detected by YOLO.
-
VA: 76%
-
Features: A, B
- Most consistent, does not flicker btwn APPROACH/DNI as much.
-
VA: 70%, 74% (GB, RF)
-
Features: A, B, C
-
VA: 78%
-
Features: A, B
- Highest accuracy, but in practice worse; flickers often.