eduardolundgren / tracking.js

A modern approach for Computer Vision on the web
http://trackingjs.com
Other
9.43k stars 1.44k forks source link

Allow to change tracking frequency #283

Open claudiotellez opened 6 years ago

claudiotellez commented 6 years ago

Hi, this is more of a suggestion. Now that WEBRTC is kind of a thing on mobile devices, I notice that sometimes the track event is a little too processor intense on video from the camera. Mainly because currently the library is relying on requestAnimationFrame to keep the tracking live. Any chance the tracking frequency could be passed as property to the constructor?

murat-aka commented 6 years ago

HERE

182

219

239

256