take-rest is a Python program that utilizes OpenCV to count the number of blinks by the user and encourages them to take regular breaks, reducing the risk of Computer Vision Syndrome (CVS).
The code for counting number of blinks is taken from another opensource project on github.
CVS is a condition caused by prolonged use of digital devices, leading to eye strain, dryness, and discomfort. This program aims to address this issue by reminding users to rest their eyes through blink monitoring.
- Counts the number of blinks to monitor eye activity.
- Notifies the user to take breaks when necessary.
- Customizable blink count threshold and break intervals.
In order to check this program, clone this repository. Then go to https://github.com/italojs/facial-landmarks-recognition/ and download "shape_predictor_68_face_landmarks.dat" file and store it in a folder called "model/". Then run the main.py.