beraldofilippo / android-hpe

Android native application to perform head pose estimation using images coming from the front camera.
MIT License
57 stars 21 forks source link

How to capture image. #4

Closed PD006 closed 6 years ago

PD006 commented 6 years ago

how to capture image in oNGetImageListener when matches any particular gaze angle. please let me know as soon as possible.

beraldofilippo commented 6 years ago

OnGetImageListener: line 250 that's where I get the final HeadPoseGaze r = results.get(0); from there it's easy to get Yaw, Pitch and Roll, and you would check for a matching angle and something with the image.