The first draft of the code
The first programme I created is a programme that can show all the previous visitors' faces randomly on top of the new visitor's face.
When a new visitor shows up:
- Detect the face
- Take a picture of the face
- Save it in the database
- Randomly show all the previous visitors' faces
First I used OpenCV to make processing detect the faces and save all the new faces to the database folder, then I created a Class(ShowFaces) which will randomly show all the previous visitors' faces.
When a new visitor shows up:
- Detect the face
- Take a picture of the face
- Save it in the database
- Randomly show all the previous visitors' faces
First I used OpenCV to make processing detect the faces and save all the new faces to the database folder, then I created a Class(ShowFaces) which will randomly show all the previous visitors' faces.