eduardolundgren / tracking.js

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

Add { camera: true } to https://trackingjs.com/docs.html#introduction #169

Open kertavax opened 8 years ago

kertavax commented 8 years ago

Hi, first off: insanely good job on writing this library framework!

I just wanted to suggest that while going through the very helpful step-by-step #introduction, I had trouble launching the device camera.

After going through the "color_camera.html" I noticed that therein was an extra parameter passed into the main track() function, namely { camera: true }, that is missing from the #introduction that passes in the selector and the tracking.ColorTracker object.

On including that, everything worked fine.

Cheers, and thanks again for creating this library! – Egill R

Ps. Sry, a bit of a n00b here on github, so perhaps I should’ve contributed this small suggestion in another way?

Nash171 commented 8 years ago

Hi,

I faced the same problem and noticed about opt_options ( Optional configuration to the tracker ) parameter after going through the library.

Including about opt_options in introduction page will be nice :)

Thanks