gramods
Loading...
Searching...
No Matches
ArucoBoard.hh
1
2#ifndef GRAMODS_TRACK_ARUCOBOARD
3#define GRAMODS_TRACK_ARUCOBOARD
4
5#include <gmTrack/config.hh>
6
7#ifdef gramods_ENABLE_OpenCV_objdetect
8
9#include <gmCore/Object.hh>
10
11#include <opencv2/objdetect.hpp>
12
13BEGIN_NAMESPACE_GMTRACK;
14
20 : public gmCore::Object {
21
22public:
23
27 virtual cv::Ptr<cv::aruco::Board> getBoard() = 0;
28
33 std::string getDefaultKey() override { return "arucoBoard"; }
34
35};
36
37END_NAMESPACE_GMTRACK;
38
39#endif
40#endif
Base type for objects in the Gramods package for standardized handling of construction,...
Definition Object.hh:42
The ArucoBoard is used by the ArucoTracker node to get the board configuration to track.
Definition ArucoBoard.hh:20
std::string getDefaultKey() override
Returns the default key, in Configuration, for the Object.
Definition ArucoBoard.hh:33
virtual cv::Ptr< cv::aruco::Board > getBoard()=0
Returns a reference to the board defined by this node.