An alarm system to alarm a user if he/she leaves without his IoT device. This part of the code is for the IoT part where response to request made by the server.
- Read gyro sensor's data and returns 0 (not moving) or 1 (moving)
*This project is done with MinJun Kwak
The rest of this information is meant for IoT Server part. But this part of the code is lost so only my instructions are left.
- Install OpenCV 3 on Raspbian Jessie
- Access raspberry pi camera with opencv and python
- Increase raspberry pi FPS (not necessary though)
-
Face recognition with python https://realpython.com/blog/python/face-recognition-with-python/
-
Face detection Raspberry WebCam. https://realpython.com/blog/python/face-detection-in-python-using-a-webcam/
-
Combine step 5 and step 2 so that it works for raspberry cam + change "cv2.cv.CV_HAAR_SCALE_IMAGE" to "cv2.CASCADE_SCALE_IMAGE"
Creating Server 0. Create file named main.js
- npm init (so that I can get npm created by others)
- npm install express -- save, npm install supervisor -g, npm install python-shell, body-parser, request