eduardolundgren / tracking.js

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

add video options(width,height,scale,limit) #309

Open necnecnec opened 6 years ago

necnecnec commented 6 years ago

Add some videotrack options to fix bug or add new feature --width/height fix (width/height in context.drawImage is the analysed video width/height,may need specify) **you may get width/height by bind("playing",function(){}); --scale (sometime video quality is too high may need scale to reduce,or it will use too much rescoures) --limit (like scale,sometime we don't need two high fps,use this to reduce)

I have tested these features。if you are interested,I can rewrite these。