eduardolundgren / tracking.js

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

fast_camera.html example problem #368

Open firstwave67 opened 5 years ago

firstwave67 commented 5 years ago

fast_camera.html example don't work because of video element position.

video {

position: absolute;
top: -1000px;

}

The tracker can get pixel of camera only if the video shows in display at least some part of the video element. Changing top from -400px to 400px, it works fine in my browser and webcam environment, There might be a problem on processing video tag with camera:true option.