Skip to content
Snippets Groups Projects
Commit abad575d authored by Shahrul Kamil bin Hassan's avatar Shahrul Kamil bin Hassan
Browse files

Upload New File

parent 1d594c0a
Branches
#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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment