eduardolundgren / tracking.js

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

Is it possible to detect faces from an image that is drawn on <canvas>? #214

Open brewh0use opened 7 years ago

jonpaulharvey commented 7 years ago

+1

brewh0use commented 7 years ago

For clarification. While the comments in tracking.js highlight that "canvas, image or video" are all supported as arguments, canvas doesn't seem to work.

Here's a fiddle based on the hello world example: https://jsfiddle.net/atv6w3g8/5/

hugeBoss commented 7 years ago

https://jsfiddle.net/atv6w3g8/5/ it doesn't work

krhoyt commented 7 years ago

The Fiddle produces all kinds of errors (MIME type of 'text/plain' not executable). I have tested with canvas however and tracking.js does work (live example using your own image).