11#ifndef TAG_DETECTION_HANDLER_H
12#define TAG_DETECTION_HANDLER_H
14#include "../vision/aruco/TagDetector.h"
34 std::shared_ptr<TagDetector> m_pTagDetectorMainCam;
35 std::shared_ptr<TagDetector> m_pTagDetectorRearCam;
36 std::unique_ptr<RecordingHandler> m_pRecordingHandler;
43 enum class TagDetectors
66 std::shared_ptr<TagDetector>
GetTagDetector(TagDetectors eDetectorName);
Defines the RecordingHandler class.
The TagDetectionHandler class is responsible for managing all of the different detectors that Autonom...
Definition TagDetectionHandler.h:28
void StopAllDetectors()
Signals all detectors to stop their threads.
Definition TagDetectionHandler.cpp:125
void StopRecording()
Signal the RecordingHandler to stop recording video feeds from the TagDetectionHandler.
Definition TagDetectionHandler.cpp:147
void StartAllDetectors()
Signals all detectors to start their threads.
Definition TagDetectionHandler.cpp:96
void StartRecording()
Signal the RecordingHandler to start recording video feeds from the TagDetectionHandler.
Definition TagDetectionHandler.cpp:112
std::shared_ptr< TagDetector > GetTagDetector(TagDetectors eDetectorName)
Accessor for TagDetector detectors.
Definition TagDetectionHandler.cpp:163
TagDetectionHandler()
Construct a new TagDetectionHandler::TagDetectionHandler object.
Definition TagDetectionHandler.cpp:22
~TagDetectionHandler()
Destroy the TagDetectionHandler::TagDetectionHandler object.
Definition TagDetectionHandler.cpp:83
cv::Mat RequestDetectionOverlayFrame(TagDetectors eDetector=TagDetectors::eHeadMainCam)
Requests a snapshot of the current tag detection overlay. Blocks execution until the frame is ready.
Definition TagDetectionHandler.cpp:183