diff --git a/Code/Main Feather Code/Camera.h b/Code/Main Feather Code/Camera.h new file mode 100644 index 0000000000000000000000000000000000000000..79fb97522ebdf3aedb69f5e8a1f08013c74eccfe --- /dev/null +++ b/Code/Main Feather Code/Camera.h @@ -0,0 +1,24 @@ +#ifndef CAMERA_H +#define CAMERA_H +#include <openmvrpc.h> + +class Camera +{ + private: + openmv::rpc_i2c_master *interface; + + public: + Camera(openmv::rpc_i2c_master *intface); + void exe_face_detection(); // Face should be about 2ft away. + void exe_person_detection(); + void exe_qrcode_detection(); // Place the QRCode about 2ft away. + bool exe_apriltag_detection(int ID,int *x_temp,int *y_temp,int *angle_temp); + void exe_datamatrix_detection(); // Place the Datamatrix about 2ft away. + void exe_barcode_detection(); // Place the Barcode about 2ft away. + bool exe_color_detection(int8_t l_min, int8_t l_max, int8_t a_min, int8_t a_max, int8_t b_min, int8_t b_max); + bool exe_color_detection_biggestblob(int8_t l_min, int8_t l_max, int8_t a_min, int8_t a_max, int8_t b_min, int8_t b_max, int& x, int&y); + void exe_led_detection(); + void exe_jpeg_snapshot(); + +}; +#endif