1j01 / tracky-mouse

Mouse control via head tracking, as a cross platform desktop app and JS library. eViacam alternative.
https://trackymouse.js.org/
MIT License
27 stars 5 forks source link

Deactivate camera after a period of inactivity, for performance #55

Open 1j01 opened 6 months ago

1j01 commented 6 months ago

If camera-based control is paused for, say, a minute, and the app window is not visible (i.e. it's minimized or occluded), stop head tracking, as it's somewhat computation-intensive, and close the camera video stream, allowing other applications to use the camera.