asterics / AsTeRICS

The Assistive Technology Rapid Integration & Construction Set
http://www.asterics.eu
Other
57 stars 27 forks source link

CameraMouse tracking bad with low mouse speed #238

Closed deinhofer closed 6 years ago

deinhofer commented 6 years ago

When choosing a low speed as a gain for the tracked face movement the tracking is very often reinitialized which causes hangs of the mouse movement and makes it very unusable.

Console output shows something like this:

   [java] angle chin2nosetip out of range: -25.0 <= 45.70805445489635 <= 25.0
     [java] Found face at: (88, 42; 136, 136)

Solution

Loose plausibility checks of tracking in XFaceTrackerLK plugin to not trigger the reinitilazation that often