AIRLegend / aitrack

6DoF Head tracking software
MIT License
1.04k stars 105 forks source link

Distance not considered ? #101

Open oeches opened 3 years ago

oeches commented 3 years ago

It seems the "distance" parameter is not taken into account or maybe it has a hidden default value.

I tried to configure this parameter for my webcam since when I am close to the webcam, like 20-30 cm, the tracking system is not recognizing my face, even if it is "complete".

So I put "zero" value and it does the same thing as if this parameter was not taken into account. I tried also 4 meters, it did the same thing.

Environment (please complete the following information):

AIRLegend commented 3 years ago

The distance parameter it's not used for detection but for position/rotation calculations. It's actually used.

In order to solve that issue I would recommend you taking a look at the Tips section and making sure your face is well lit and not very occluded.

Hope that solves the problem. Unmarking as a bug for the moment.