-
Notifications
You must be signed in to change notification settings - Fork 110
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
AI for short distances #109
Comments
Hi, |
Hey, This might be of use to you. I faced the same issue with the same webcam, I think (mine is c270). Rotating to portrait (very longer height, shorter width) allows your face to stay in the frame for very close distances. I suppose this would give you a disadvantage if you want to move in x and/or y directions and roll. But your pitch, yaw, and z movement will track while being very close to the camera. The basic gist is that you want to make your frame bigger to accommodate more movement. I've noticed that even 1cm of the top of the head being cut off is enough for AITrack to cut tracking off completely. I am no expert, just my observations. Hopefully, a dev team member can verify this. |
AIRLegend's remarks regarding the full face needs to be within the viewport seem to be a requirement. It's searching for the borders of a head indicated by the pink dots in the viewport. Note that there are issues initializing head3dScale and camera_matrix and a logic issue in correct_rotation contributing to desensitization at short distances. The OPTIMIZE_PositionSolver fixes at https://github.com/searching46dof/aitrack/blob/master/AITracker/src/PositionSolver.cpp allow tracking at distances shorter than 1meter. I've tested the changes at less than 0.5 meter where my head almost fills the entire viewport. When tracking at this close range, the FOV and distance need be fairly accurate. If the distance is inaccurately set for 3 meters, then it will easily lose face tracking when looking around. |
Describe your idea
my eyes to webcam distance is about 20cm and it seems no matter what parameter
AItracker only works well with 1m distance.
my room is well rit using a ramp
Describe the solution you'd like
don't know anything about ai or how you did it but could it be possible to allow users to select short distance?
Additional context
ai just doesn't recognize well in short distance i think
webcam: logitech z270
tested parameters: 30,60 hz and all ai models
The text was updated successfully, but these errors were encountered: