eduardolundgren / tracking.js

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

use the face detection in a synchrone mode ? #276

Open styloInt opened 6 years ago

styloInt commented 6 years ago

Hi,

thanks for the library, it's awesome.

I have one question, can this library be used in a synchronous mode for face detection. That means that I want to wait for the tracking to be done for executing the rest of my code. is there a solution? except putting a boolean in tracking.on() and looping until it's done.

Thanks in advance for your help