garaemon / libCMT

c++ port of the python code from https://github.com/gnebehay/CMT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libCMT

c++ port of the python code from https://github.com/gnebehay/CMT

based on paper Consensus-based Matching and Tracking of Keypoints for Object Tracking, Nebehay, Georg and Pflugfelder, Roman, 2014

Notes

You need to download the "cokecan" dataset and put it in "sequences/cokecan/" to test the code (the link is given here : http://www.gnebehay.com/cmt/ ). You can modify main.cpp to change the dataset.

If the initialise function is slow (seems to be the case in android), try to move the 2 lines :

detector = cv::Algorithm::createcv::FeatureDetector(detectorType.c_str()); descriptorExtractor = cv::Algorithm::createcv::DescriptorExtractor(descriptorType.c_str());

to the constructor.

About

c++ port of the python code from https://github.com/gnebehay/CMT

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 97.6%Language:CMake 2.4%