Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a minimum amount of pixels for detection at farther distances #203

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

searching46dof
Copy link
Contributor

Tracker::proc_face_detect increases the size of the face boundary by 10% to compensate for in increased face size due to yaw, pitch and roll.
But it also needs to guaranteed a minimum amount of pixels for faces at farther distances where the boundary is much smaller.

this fixes "Losing tracking at distances approx > 2 meters (v0.6.6 and v0.7.0)"
#173
Head tracking was tested at distances of 4 to 5 meters

…or larger distances.

The symptom is currently losing face tracking at distance of approx 2 meters.
the additional margin of 0.1 * width and 0.1 * height is only effective for short ranges (e.g. less than 1 meters) since the face is relatively large.
For distances up to 2 meters, need additional margins approx 0.2 x width and 0.2 x height since the face is smaller
For distances up to 3 meters , need additional margins approx 0.3 x width and 0.3 x height.
For distances up to 4 meters, need additional margins approx 0.4 x width and 0.4 x height.
Currently CameraFactory::getCameras only enumerates 1 PS3 eye camera and up to 4 OCV cameras.
Should be able to enumerated multiple PS3 eye cameras
 Need to increase the boundary for face detection by 10% to compensate for increased size due to yaw, pitch and roll
 But we also need a minimum amount of pixels for detection at farther distances where the face is smaller
resolve conflicts
resolve conflicts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant