Bojidar06 / DrinkWater_Reminder_AI_ForProof

App that reminds you to drink water and wants proof. You have 6 minutes to show a cup or a bottle to keep using your pc. If you don't, your pc shuts down.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What does the program do?

Every 15 minutes it runs and reminds you to drink water through an messagebox.
Then, it opens your camera and AI detects most objects you show on the camera.

You have 6 minutes to show the camera a cup, bottle or a glass.
If you do: The window closes and you can continue using your computer.
If you don't: Your computer shuts down.


What problems does it solve?

We all are used to sitting on a computer for a lot of time, but lets be honest.
It's not very good for our health.
This app helps to not forget to move from time to time and Drink Water :).
Cause water is nice.

If you know you should move but you feel lazy and you don't want to.
You've got no choise:), your computer shuts down if you deny to drink water ;)
Well, I mean of course you could fool the program by showing a empty cup, or by leaving the messagebox.
But don't, buddy. Drink water.

How to Run it

First clone the repository:

git clone https://github.com/Bojidar06/DrinkWater_Reminder_AI_ForProof.git

Then open it and install the required python modules:

cd DrinkWater_Reminder_AI_ForProof/
pip install -r requirements.txt

Then run the Script:

python3 main.py  

How it looks:

Things you can add to improve the App:

Feel free to make pull requests!

  1. You could find a way to always keep the windows on top of everything to pressure the user to do it.
  2. You can make it autorun. Right now you need to run it manualy every time you restart the pc.
    You could find a way to make it autorun. I tried with cronjob but it didn't work, so I removed it.
  3. You can make the 6 minutes timer start from the show of the messagebox, not after you press ok on the messagebox.

About

App that reminds you to drink water and wants proof. You have 6 minutes to show a cup or a bottle to keep using your pc. If you don't, your pc shuts down.


Languages

Language:Python 100.0%