Repository: eduardolundgren/tracking.js Branch: master Commit: 9c7d0da66506 Files: 80 Total size: 8.6 MB Directory structure: gitextract_1s41k4rv/ ├── .bowerrc ├── .editorconfig ├── .gitignore ├── .jshintrc ├── .travis.yml ├── LICENSE.md ├── README.md ├── TODO.md ├── assets/ │ ├── opencv_haarcascade_converter.html │ ├── opencv_haarcascade_eye.js │ ├── opencv_haarcascade_frontalface_alt.js │ ├── opencv_haarcascade_mouth.js │ └── opencv_haarcascade_upper_body.js ├── bower.json ├── build/ │ ├── data/ │ │ ├── eye-min.js │ │ ├── eye.js │ │ ├── face-min.js │ │ ├── face.js │ │ ├── mouth-min.js │ │ └── mouth.js │ ├── tracking-min.js │ └── tracking.js ├── examples/ │ ├── assets/ │ │ ├── color_camera_gui.js │ │ ├── demo.css │ │ ├── fish_tank/ │ │ │ └── FishTankRenderer.js │ │ ├── franck.ogv │ │ ├── franck.webm │ │ └── minions.ogv │ ├── brief.html │ ├── brief_camera.html │ ├── color_camera.html │ ├── color_draw_something.html │ ├── color_fish_tank.html │ ├── color_hello_world.html │ ├── color_video.html │ ├── face_alignment_image.html │ ├── face_alignment_video.html │ ├── face_alignment_webcam.html │ ├── face_camera.html │ ├── face_fish_tank.html │ ├── face_hello_world.html │ ├── face_tag_friends.html │ ├── fast.html │ └── fast_camera.html ├── gulpfile.js ├── package.json ├── src/ │ ├── alignment/ │ │ ├── LBF.js │ │ ├── Regressor.js │ │ └── training/ │ │ ├── Landmarks.js │ │ └── Regressor.js │ ├── detection/ │ │ ├── ViolaJones.js │ │ └── training/ │ │ └── haar/ │ │ ├── eye.js │ │ ├── face.js │ │ └── mouth.js │ ├── features/ │ │ ├── Brief.js │ │ └── Fast.js │ ├── math/ │ │ ├── Math.js │ │ └── Matrix.js │ ├── pose/ │ │ └── EPnP.js │ ├── trackers/ │ │ ├── ColorTracker.js │ │ ├── LandmarksTracker.js │ │ ├── ObjectTracker.js │ │ ├── Tracker.js │ │ └── TrackerTask.js │ ├── tracking.js │ └── utils/ │ ├── Canvas.js │ ├── DisjointSet.js │ ├── EventEmitter.js │ └── Image.js └── test/ ├── Benchmark.js ├── Brief.js ├── ColorTracker.js ├── Fast.js ├── ObjectTracker.js ├── perf/ │ ├── Brief.js │ ├── ColorTracker.js │ ├── Fast.js │ └── ObjectTracker.js └── utils/ ├── benchmark.js └── sandbox.js ================================================ FILE CONTENTS ================================================ ================================================ FILE: .bowerrc ================================================ { "directory": "../" } ================================================ FILE: .editorconfig ================================================ # editorconfig.org root = true [*] indent_style = tab end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true indent_style = space indent_size = 2 [*.md] trim_trailing_whitespace = false ================================================ FILE: .gitignore ================================================ .DS_Store node_modules test/assets/benchmark.json ================================================ FILE: .jshintrc ================================================ { "asi": false, "bitwise": false, "curly": true, "eqeqeq": true, "esnext": true, "evil": false, "forin": false, "globals": { "document": true, "navigator": true, "tracking": true, "window": true }, "immed": true, "indent": 2, "lastsemic": false, "maxdepth": false, "multistr": false, "newcap": true, "noarg": true, "node": true, "onevar": false, "quotmark": "single", "regexp": true, "smarttabs": true, "trailing": true, "undef": true, "unused": true } ================================================ FILE: .travis.yml ================================================ language: node_js node_js: - "0.11" - "0.10" ================================================ FILE: LICENSE.md ================================================ Software License Agreement (BSD License) Copyright (c) 2014, Eduardo A. Lundgren Melo. All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * The name of Eduardo A. Lundgren Melo may not be used to endorse or promote products derived from this software without specific prior written permission of Eduardo A. Lundgren Melo. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ================================================ FILE: README.md ================================================ ![Banner](banner.svg)
:point_right: **https://github.com/eduardolundgren/tracking.js/issues/395** :point_left:
--- # tracking.js [![Build Status](http://img.shields.io/travis/eduardolundgren/tracking.js.svg?style=flat)](https://travis-ci.org/eduardolundgren/tracking.js) [![DevDependencies Status](http://img.shields.io/david/dev/eduardolundgren/tracking.js.svg?style=flat)](https://david-dm.org/eduardolundgren/tracking.js#info=devDependencies) 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. * [Official website](http://trackingjs.com) * [Documentation](http://trackingjs.com/docs.html) * [API Docs](http://trackingjs.com/api/) ## Install Install via [Bower](http://bower.io/), [npm](https://www.npmjs.com/), or [download as a zip](https://github.com/eduardolundgren/tracking.js/archive/master.zip): ``` bower install tracking ``` ``` npm install tracking ``` ## Examples [![Demo 1](https://cloud.githubusercontent.com/assets/398893/3709347/ec72876c-1453-11e4-8450-149d06d487f2.jpg)](http://trackingjs.com/examples/face_tag_friends.html) [![Demo 2](https://cloud.githubusercontent.com/assets/398893/3709357/1a1c2e16-1454-11e4-804d-e6ada6c65997.jpg)](http://trackingjs.com/examples/face_fish_tank.html) [![Demo 3](https://cloud.githubusercontent.com/assets/398893/3709361/38f86e8a-1454-11e4-811d-52bd21b37e85.jpg)](http://trackingjs.com/examples/color_hexgl.html) [![Demo 4](https://cloud.githubusercontent.com/assets/398893/3709464/5447a302-1456-11e4-96b2-d2fae28e2a01.jpg)](http://trackingjs.com/examples/color_draw_something.html) [![Demo 5](https://cloud.githubusercontent.com/assets/398893/3709469/6a3e859a-1456-11e4-982a-d46a55890e1e.jpg)](http://trackingjs.com/examples/color_fish_tank.html) ## Features * [Trackers](http://trackingjs.com/docs.html#trackers) * [Color Tracker](http://trackingjs.com/docs.html#color-tracker) * [Object Tracker](http://trackingjs.com/docs.html#object-tracker) * [Utilities](http://trackingjs.com/docs.html#utilities) * [Feature Detection (Fast)](http://trackingjs.com/docs.html#feature-detection) * [Feature Descriptor (Brief)](http://trackingjs.com/docs.html#feature-descriptor) * [Convolution](http://trackingjs.com/docs.html#convolution) * [Gray Scale](http://trackingjs.com/docs.html#gray-scale) * [Image Blur](http://trackingjs.com/docs.html#image-blur) * [Integral Image](http://trackingjs.com/docs.html#integral-image) * [Sobel](http://trackingjs.com/docs.html#sobel) * [Viola Jones](http://trackingjs.com/docs.html#viola-jones) * [Web Components](http://trackingjs.com/docs.html#web-components) * [Color Element](http://trackingjs.com/docs.html#color-element) * [Object Element](http://trackingjs.com/docs.html#object-element) ## Browser Support You can plug *tracking.js* into some well supported HTML elements such as ``, `