GithubHelp home page GithubHelp logo

catree / bitplanes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from halismai/bitplanes

0.0 1.0 0.0 23.97 MB

Robust and real time template tracking

License: Other

Python 1.32% CMake 30.15% Shell 0.40% C++ 66.53% C 1.42% MATLAB 0.16%

bitplanes's Introduction

BitPlanes

A library for robust real time tracking.

If you find this work useful, please cite our work

@proceedings{alismail2016bitplanes,
  title={Robust Tracking in Low Light and Sudden Illumination Changes},
  author={{Alismail}, Hatem and {Browning}, Brett and {Lucey}, Simon},
  booktitle={Internal Conference on 3D Vision (3DV)},
  year={2016}
}

See here for additional details and data.

Compiling

mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release ../ && make -j3

Dependecies

  • Eigen 3.0+
  • OpenCV 3.0+

Using the library

Look into the directory test/ for examples of running the code.

First, initialize the tracker with AlgorithmParameters (see core/algorithm_parameters.h for docs)

The default values should ok, but might need tweaking.

  using namespace bp;

  AlgorithmParameters params;
  params.max_iterations = 50;
  params.verbose = true;
  params.function_tolerance = 1e-5;
  params.parameter_tolerance = 1e-4;

  // Create the tracker

  BitplanesTracker<Homography> tracker(params);

 // Initialize the template

   /* The image must be grayscale
    * ROI indicate the template location within the image
    */
  tracker.setTemplate(image, roi);


// Track new frames

  for(auto I : images)
    auto result = tracker.track(I);

see core/types.h for the Result structure, which contains the estimated Homography along with other useful information.

For version optimized for Visual Odometry see bpvo

bitplanes's People

Contributors

halismai avatar

Watchers

 avatar

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.