Replies: 1 comment
-
You can use face bounds to determine the center of the face. Then you need to use frame sizes to determine the horizontal/vertical center of the screen and add/subtract from these values the range you want the face to be. In my local testa disabling |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to get a
Face
x
andy
position to check if the face is centered on a 2D shape (like a square), is there any way of doing so?I already tried
bounds
andlandmarks
, but the position does not follow the center of my face when I get a little far or a little closer to the camera... Is there any way to use detection in just a point of the camera?Beta Was this translation helpful? Give feedback.
All reactions