RobotsIO
Loading...
Searching...
No Matches
src
RobotsIO
include
RobotsIO
Utils
DatasetDetection.h
1
/*
2
* Copyright (C) 2020 Istituto Italiano di Tecnologia (IIT)
3
*
4
* This software may be modified and distributed under the terms of the
5
* BSD 3-Clause license. See the accompanying LICENSE file for details.
6
*/
7
8
#ifndef ROBOTSIO_DATASETDETECTION_H
9
#define ROBOTSIO_DATASETDETECTION_H
10
11
#include <Eigen/Dense>
12
13
#include <RobotsIO/Utils/DatasetDataStream.h>
14
#include <RobotsIO/Utils/Detection.h>
15
16
#include <opencv2/opencv.hpp>
17
18
namespace
RobotsIO
{
19
namespace
Utils {
20
class
DatasetDetection;
21
}
22
}
23
24
25
class
RobotsIO::Utils::DatasetDetection
:
public
RobotsIO::Utils::DatasetDataStream
,
26
public
RobotsIO::Utils::Detection
27
{
28
public
:
29
DatasetDetection
(
const
std::string& file_path);
30
31
virtual
~DatasetDetection
();
32
33
bool
freeze(
const
bool
blocking =
false
)
override
;
34
35
cv::Rect detection()
const override
;
36
37
private
:
38
cv::Rect detection_;
39
40
const
std::string log_name_ =
"DatasetDetection"
;
41
};
42
43
#endif
/* ROBOTSIO_DATASETDETECTION_H */
RobotsIO::Utils::DatasetDataStream
Definition:
DatasetDataStream.h:21
RobotsIO::Utils::DatasetDetection
Definition:
DatasetDetection.h:27
RobotsIO
Definition:
Camera.h:24
Generated by
1.9.6