|
Void Sentry
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
|
An abstract base class (Interface) that defines the contract for detection algorithms. This class allows the Controller to remain agnostic of the specific detection method (e.g., Color, AI, or Motion) by providing a consistent interface. More...
#include <base_detection_module.h>
Public Member Functions | |
| virtual | ~BaseDetectionModule ()=default |
| Virtual destructor to ensure proper cleanup of derived classes. | |
| virtual std::tuple< MoveX, MoveY > | detect_object (camera_buffer_t frame)=0 |
| Analyzes a camera frame to locate a specific object. | |
| virtual TrackSnapshot | get_track_snapshot () const |
| Latest tracker output, safe to call from another task (implementations copy under a lock). | |
| virtual void | reset () |
| Drop the current target and background. Implementations must make this safe to call from any task. | |
| virtual DetectionStats | get_stats () const |
| Detection timings and counters for the stats line. | |
An abstract base class (Interface) that defines the contract for detection algorithms. This class allows the Controller to remain agnostic of the specific detection method (e.g., Color, AI, or Motion) by providing a consistent interface.
|
pure virtual |
Analyzes a camera frame to locate a specific object.
| frame | Pointer to the ESP32-CAM frame buffer (camera_fb_t). |
Implemented in CameraDiffDetection.
|
inlinevirtual |
Detection timings and counters for the stats line.
Reimplemented in CameraDiffDetection.
|
inlinevirtual |
Latest tracker output, safe to call from another task (implementations copy under a lock).
Reimplemented in CameraDiffDetection.
|
inlinevirtual |
Drop the current target and background. Implementations must make this safe to call from any task.
Reimplemented in CameraDiffDetection.