This node script:
- Runs in the background and takes a picture using the webcam every (x) minutes.
- Uses openCV to detect any faces in the image and crops the image to be centered on a face.
- Creates a video every (y) minutes with all the faces collected.
To run using defaults:
node index.js
or to take a picture every 10 minutes and make a video every 20.
node index.js 10 20