-
Notifications
You must be signed in to change notification settings - Fork 0
/
tracker.h
39 lines (28 loc) · 1.29 KB
/
tracker.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* File: BasicTracker.h
* Author: Joao F. Henriques, Joao Faro, Christian Bailer
* Instute of Systems and Robotics- University of COimbra / Department Augmented Vision DFKI
*
* This source code is provided for for research purposes only. For a commercial license or a different use case please contact us.
* You are not allowed to publish the unmodified sourcecode on your own e.g. on your webpage. Please refer to the official download page instead.
* If you want to publish a modified/extended version e.g. because you wrote a publication with a modified version of the sourcecode you need our
* permission (Please contact us for the permission).
*
* We reserve the right to change the license of this sourcecode anytime to BSD, GPL or LGPL.
* By using the sourcecode you agree to possible restrictions and requirements of these three license models so that the license can be changed
* anytime without you knowledge.
*/
#pragma once
#include <opencv2/opencv.hpp>
#include <string>
class Tracker
{
public:
Tracker() {}
virtual ~Tracker() { }
virtual bool init(const cv::Rect &roi, cv::Mat image) = 0;
virtual bool update( cv::Mat image)=0;
protected:
cv::Rect_<float> _roi;
};