Need help on adding auto capture/snapshot on face detect. Using this example from tracking.js:
https://github.com/eduardolundgren/tracking.js/blob/master/examples/face_camera.html http://trackingjs.com/examples/face_camera.html
Any idea will be greatly appreciated. Thanks!
I needed this as well. I used this link to help me get to this answer.
How to take a snapshot of HTML5-JavaScript-based video player?
In tracking.js example (face_camera.html) I added this canvas:
Then inside the onTrack event I added this:
A bit late but hope it helps someone.