Skip to content

praweenkr01/Smart-Shut-Sleep-Mode-And-Vision-Protection

Repository files navigation

Smart Shut/Sleep Mode And Vision Protection Features In System. [Computer Vision Project]

Introduction

Healthy brain function needs healthy eyesight. The brain is our most vital organ, allowing us to live complex lives. Considering that our optic nerve connects our eyes and our brain, a healthy co-dependent relationship is necessary. By keeping our eyes healthy, we keep our brain healthy – improving our overall quality of life! In this project, I have designed a few smart features using OpenCV, Web Camera, Streamlit & few other python module which can be added in our existing system as well upcoming one. The main motto of these features is to stop a person from watching or working by sitting too close system screen, save energy and prolong our system's life .

Problem Considered

  1. Sitting too close to any digital screen cause eyestrain.Children may lose interest in tasks such as reading, and old one develops irritation and tiredness.
  2. Wastage of energy on forgetting to turn off the tv/laptop, no automatic brightness control feature based on making sure if person is there in frame or not & Safety of the eletronics devices(tv-laptop) from children.

Demonstration

please do watch this short video to understand the functioning of the project.

Screenshot (2641)

Workflow diagram

vision_protector

Working

The OpenCV is used to read the presense of faces after capturing with Web cam. After detecting the faces, if the person is very near to the screen the Winsound module is used to create noise,if the person doesn't backoff for too long even after warning the sysytem shutdown itself. I’ve used lens formula to know the distance between the human’s eyes and the screen by using simlar triangles property. If the person is working or sitting infront of the system, the system won’t go in sleepmode but as he/she moves out of frame the screen-brightness will automatically fall to lowest level,it will wait for few determined time and then start warming alarm (make beep sound) for few second and eventually go into sleepmode if no-one came in the frame. but if the person came into frame the system's brightness will be back to it's initial brightness,warning alarm will stop and system won't go into sleepmode.

Limitation


  • won't be able to use whenever there is use of webcam in other work
  • Malfunctioning of components.
  • burden of task on processor in parallel to work.

Click the link below to view the earlier idea and implementaion of the same project as Hardware Embedded System Project.

EMBEDDED SYSTEM BASED VISION PROTECTOR

About

Computer Vision Project & IoT(Embedded system) project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published