|
Smart Camera ESP32
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.
|
Motion detection using frame differencing. More...
#include <camera_diff_detection.h>
Public Member Functions | |
| std::tuple< MoveX, MoveY > | detect_object (camera_buffer_t frame) override |
| Detects motion by comparing frames and returns direction to track. | |
| MotionData | get_motion_data () const |
| Get the latest motion data from the detection module. | |
| DetectionMetrics | get_detection_metrics () const |
Public Member Functions inherited from BaseDetectionModule | |
| virtual | ~BaseDetectionModule ()=default |
| Virtual destructor to ensure proper cleanup of derived classes. | |
Motion detection using frame differencing.
Analyzes consecutive frames to detect moving objects. Returns clean MotionData structure with detection results. Completely independent from visualization.
|
overridevirtual |
Detects motion by comparing frames and returns direction to track.
| frame | Camera frame buffer |
Implements BaseDetectionModule.
|
inlinevirtual |
Get the latest motion data from the detection module.
This method provides access to the motion metrics detected. Derived classes should override this to return their current metrics.
Reimplemented from BaseDetectionModule.