17 std::tuple<MoveX, MoveY> detect_object(camera_fb_t* frame)
24 MoveX random_number_x =
MoveX((rand() % (max - min + 1)) + min);
25 MoveY random_number_y =
MoveY((rand() % (max - min + 1)) + min);
27 return std::make_tuple(random_number_x, random_number_y);
Abstract interface for object detection logic on ESP32-CAM.
An abstract base class (Interface) that defines the contract for detection algorithms....
Definition base_detection_module.h:22
Encapsulates horizontal movement states and utility methods.
Definition move_types.h:67
Encapsulates vertical movement states and utility methods.
Definition move_types.h:105
Definition test_detection.h:12
movement definitions for the Smart Camera project.