Am5os
 All Classes Functions Pages
detector.h
1 //
2 // Projectname: amos-ss16-proj5
3 //
4 // Copyright (c) 2016 de.fau.cs.osr.amos2016.gruppe5
5 //
6 // This file is part of the AMOS Project 2016 @ FAU
7 // (Friedrich-Alexander University Erlangen-Nürnberg)
8 //
9 // This program is free software: you can redistribute it and/or modify
10 // it under the terms of the GNU Affero General Public License as
11 // published by the Free Software Foundation, either version 3 of the
12 // License, or (at your option) any later version.
13 //
14 // This program is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU Affero General Public License for more details.
18 //
19 // You should have received a copy of the GNU Affero General Public
20 // License along with this program. If not, see
21 // <http://www.gnu.org/licenses/>.
22 //
23 
24 #ifndef DETECTOR_H
25 #define DETECTOR_H
26 
27 #include <opencv2/opencv.hpp>
28 #include <vector>
29 
30 class Detector {
31 
32 public:
33 
41  virtual std::vector<cv::Rect> Detect(cv::Mat *frame) = 0;
42 
51  virtual std::vector<cv::Rect> DetectInROI(cv::Mat *frame, std::vector<cv::Rect> *rois) = 0;
52 
53 private:
54 
55 };
56 
57 
58 #endif // DETECTOR_H
virtual std::vector< cv::Rect > Detect(cv::Mat *frame)=0
virtual std::vector< cv::Rect > DetectInROI(cv::Mat *frame, std::vector< cv::Rect > *rois)=0
Definition: detector.h:30