From abad575d7edd8322a0842fc89643345f4ca29fb2 Mon Sep 17 00:00:00 2001
From: Shahrul Kamil bin Hassan <shahrulkamil98@g.ucla.edu>
Date: Thu, 30 Sep 2021 18:42:24 +0000
Subject: [PATCH] Upload New File

---
 Code/Main Feather Code/Camera.h | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 Code/Main Feather Code/Camera.h

diff --git a/Code/Main Feather Code/Camera.h b/Code/Main Feather Code/Camera.h
new file mode 100644
index 0000000..79fb975
--- /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
-- 
GitLab