node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »



Build Status DevDependencies Status

The tracking.js library brings different computer vision algorithms and techniques into the browser environment. By using modern HTML5 specifications, we enable you to do real-time color tracking, face detection and much more — all that with a lightweight core (~7 KB) and intuitive interface.


Install via Bower, npm, or download as a zip:

bower install tracking
npm install tracking


Demo 1 Demo 2 Demo 3 Demo 4 Demo 5


Browser Support

You can plug tracking.js into some well supported HTML elements such as <canvas>, <video> and <img>.

IE Chrome Firefox Opera Safari
IE 9+ ✔ Latest ✔ Latest ✔ Latest ✔ Latest ✔

However, the browser support may vary if you request the user's camera (which relies on getUserMedia API).


  • Optical flow
  • Face recognition
  • Pose estimation
  • Faster keypoint descriptor (BRIEF)
  • More trainings (Hand, car plate, etc)


  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D


For detailed changelog, check Releases.


tracking.js is maintained by these people and a bunch of awesome contributors.

Eduardo Lundgren Thiago Rocha Zeno Rocha Pablo Carvalho Maira Bello
Eduardo Lundgren Thiago Rocha Zeno Rocha Pablo Carvalho Maira Bello


BSD License © Eduardo Lundgren