1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-21 23:01:45 +08:00

tracking: improve public API

Use ROI selector in python samples
This commit is contained in:
Vladislav Sovrasov
2017-04-11 14:47:09 +03:00
parent 4317e27d6b
commit 3ac9e24254
27 changed files with 269 additions and 448 deletions

View File

@@ -4,7 +4,6 @@
#include <opencv2/highgui.hpp>
#include <iostream>
#include <cstring>
#include "roiSelector.hpp"
using namespace std;
using namespace cv;
@@ -31,7 +30,7 @@ int main( int argc, char** argv ){
// create a tracker object
//! [create]
Ptr<Tracker> tracker = Tracker::create( "KCF" );
Ptr<Tracker> tracker = TrackerKCF::create();
//! [create]
// set input video