This is a simple Security Camera example which detects motion and perform face recognition using OpenCV and dlib on Raspberry PI.
Blog Post: Medium
Video: YouTube
Required libraries on PI:
- dlib
- opencv
- numpy
# clone this repo
git clone https://github.com/smitshilu/AISecurityCamera.git
cd AISecurityCamera
# Start the Camera feed using following commnad
python start.py
# If you want to save a new face encoding
python save_new_face.py -f image.jpg -n "Smit"
OR
python save_new_face.py -f image.png -n "Smit"