eduardolundgren / tracking.js

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

React example #242

Closed howardkitto closed 6 years ago

howardkitto commented 6 years ago

Hi

Do you have any examples of the best practice for using tracking.js in a React project? (Ideally using create-react-app)

Huge thanks

howardkitto commented 6 years ago

For anyone who is interested, this is how you can get tracking.js working with React https://github.com/howardkitto/react-tracking

ggsjyoon commented 6 years ago

Hi. @howardkitto. I tried your example but it seems that your example is not using tracking.js.

This line is commented out // import trackVideo from './computerVision/trackVideo' in App.js and I tried your code after yarn remove tracking and it still worked. Do you have other working example for create-react-app and tracking.js?

Please correct me if I got something wrong. Thanks.