Code Monkey home page Code Monkey logo

tld_tracker's Introduction

TLD image tracker

This project implements object tracking algorithm described in http://vision.stanford.edu/teaching/cs231b_spring1415/papers/Kalal-PAMI.pdf. Source paper added to docs folder. C++ implementation uses OpenCV library for basic image processing operations and I/O.

Library and demo application have been tested under Ubuntu 18.04 and OpenCV 4.0.0

Alt text

Building

Clone repo and run building script (it runs cmake + make) in the repo root - build_tld. After process will complete built shared library with TLD sources will appear in the build-tldlibrary directory and build demo application will appear in the build-tlddemoapp directory. Alt text Alt text

How to run

You will see help information if run demo application with option --help: ./tld_demo_app --help

Alt text

Example of application launch with web-camera video stream: ./tld_demo_app --webcam --camid=DEVICE_ID Example of application launch with video stream read from videofile: ./tld_demo_app --video --videopath=ABS_PATH_TO_VIDEO Alt text

After application will start press 't' key to designate target. Set designation bounding box by mouse and press space key to start tracking.

tld_tracker's People

Contributors

iolkhovskiy avatar iolkhovsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tld_tracker's Issues

lost on long time

When your TLD program is used on long-time the target detection fail.

a) init a target recognition.
b) mask target from camera on long-time.
c) re-put the masked target front of camera.
the TLD algo is unable to found it, because seem to me all is cleared by learning.
Only new image may update base recognition.

This is a miss programming: TLD have long time stabiltiy.

So maybe I suggest that if there is no detection object, it is not necessary to update learning.
and also we didn't lose the initial learning and maybe we can redetect correctly apparition.
Did you think it's possible to modifiy this ?

Regards
Laurent.

pb compile

Hi Igor,

great works!
I am on LTS18.04. Not c++ expert at all.
obtain this mistakes :
In file included from /home/laurent/programme/opentld/tld_tracker/tld_tracker/tracker/fern_fext.cpp:1:0: /home/laurent/programme/opentld/tld_tracker/build-tldlibrary/../tld_tracker/tracker/fern_fext.h:11:45: error: expected ‘)’ before ‘<’ token FernFeatureExtractor(std::shared_ptr<ScanningGrid> grid); ^ /home/laurent/programme/opentld/tld_tracker/build-tldlibrary/../tld_tracker/tracker/fern_fext.h:17:15: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type std::shared_ptr<ScanningGrid> _grid;
I have try to add #include <initializer_list> with no success...

Happy to have your return please.

Add : Sorry, seem I use ocv3.2 so this is probably the reason maybe.
Trying ocv4.0
And it's perfectly work!
Really good stuff!
Congratulations.
Suggest you to add detect version of opencv intall.
Thank's.
Regards
Laurent.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.