11#ifndef OBJECT_DETECTION_HANDLER_H
12#define OBJECT_DETECTION_HANDLER_H
14#include "../vision/objects/ObjectDetector.h"
34 std::shared_ptr<ObjectDetector> m_pObjectDetectorMainCam;
35 std::shared_ptr<ObjectDetector> m_pObjectDetectorRearCam;
36 std::unique_ptr<RecordingHandler> m_pRecordingHandler;
43 enum class ObjectDetectors
Defines the RecordingHandler class.
The ObjectDetectionHandler class is responsible for managing all of the different detectors that Auto...
Definition ObjectDetectionHandler.h:28
cv::Mat RequestDetectionOverlayFrame(ObjectDetectors eDetector=ObjectDetectors::eHeadMainCam)
Requests a snapshot of the current detection overlay. Blocks execution until the frame is ready.
Definition ObjectDetectionHandler.cpp:173
void StartAllDetectors()
Signals all detectors to start their threads.
Definition ObjectDetectionHandler.cpp:86
void StopRecording()
Signal the RecordingHandler to stop recording feeds from the detectors.
Definition ObjectDetectionHandler.cpp:137
void StartRecording()
Signal the RecordingHandler to start recording feeds from the detectors.
Definition ObjectDetectionHandler.cpp:102
std::shared_ptr< ObjectDetector > GetObjectDetector(ObjectDetectors eDetectorName)
Accessor for ObjectDetector detectors.
Definition ObjectDetectionHandler.cpp:153
ObjectDetectionHandler()
Construct a new ObjectDetectionHandler::ObjectDetectionHandler object.
Definition ObjectDetectionHandler.cpp:22
~ObjectDetectionHandler()
Destroy the ObjectDetectionHandler::ObjectDetectionHandler object.
Definition ObjectDetectionHandler.cpp:73
void StopAllDetectors()
Signals all detectors to stop their threads.
Definition ObjectDetectionHandler.cpp:115