Study various object detection algorithms. And why haar cascade is one to be most common.
White program to load open cv stream from video file.
- Take out face from video stream every 5 second.
- Resize face area to 100x100
- flatten and add to numpy array.
- save the numpy array to npy file.
- also convert numpy array to datafram. Add additional Series for object lable as String and save as CSV.
- create another program to load and display top 5 images of npy file.
Draw rectangle on faces in video stream and save the video file back.