11#include <esp_camera.h>
An abstract base class (Interface) that defines the contract for detection algorithms....
Definition base_detection_module.h:22
virtual TrackSnapshot get_track_snapshot() const
Latest tracker output, safe to call from another task (implementations copy under a lock).
Definition base_detection_module.h:42
virtual DetectionStats get_stats() const
Detection timings and counters for the stats line.
Definition base_detection_module.h:48
virtual ~BaseDetectionModule()=default
Virtual destructor to ensure proper cleanup of derived classes.
virtual void reset()
Drop the current target and background. Implementations must make this safe to call from any task.
Definition base_detection_module.h:45
virtual std::tuple< MoveX, MoveY > detect_object(camera_buffer_t frame)=0
Analyzes a camera frame to locate a specific object.
movement definitions for the Smart Camera project.
Definition track_snapshot.h:32
Definition track_snapshot.h:14
Plain copies of the tracker output and detection timings, safe to hand across tasks.