eduardolundgren / tracking.js

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

iOS and CORS #202

Open jeffreyisham opened 7 years ago

jeffreyisham commented 7 years ago

Anyone get this working on mobile with camera capture? I'm getting a CORS error. I've tried setting the crossOrigin attr on the img tag. I can write the camera data to the image tag just fine, but when I go to track against it I'm getting a cross origin error.

jeffreyisham commented 7 years ago

I got around it by using createObjectURL rather than a fileReader.