No project description provided
Project description
Introduction: This package alerts the users if they happen to touch their mouth and nose while working in the computers. Some people develop unwanted habits such as nose picking and nail biting while working all day long in computer without thier attention. This package can help them destroy such habits by alerting right on time. This package bears more importance in the light of ongoing COVID pandemic.
Pre-requisites: You should have your webcam connected to your computer and it should be fully functional. You should also have python program installed into your computer. How to install python? Check this video. https://www.youtube.com/watch?v=4Rx_JRkwAjY&ab_channel=ProgrammingKnowledge2 https://www.youtube.com/watch?v=4gTCQCT_930&ab_channel=TechMeSpot
Concept:
This package utilizes a very powerful pacakge called mediapipe
to detect landmarks in face and fingers. These landmarks have unique ids and their local coordinates can easily be retrieved using pacakges like cv2. The distance between these landmarks can be calculated and analyzed to trigger an event such as making a beep sound.
If you are using pip
- open up your terminal by typing
cmd
and typepip install packagename
(you can copy the package name from above) - open up the python program by typing
python
into thecmd
- type
import Alert_Behavior
- type
from Alert_Behavior import alert
- type
alert.start_session().start_alert()
Yayy! if you see the webcam video launched in imaging window, you successfully started the session. You can try by moving your fingers near to nose and mouth and you will hear the beep sound. If you have a habit of touching nose and mouth with your fingers, this annoying beep sound will deter you from doing that
If you are cloning from github:
- open up your terminal by typing
cmd
on the navigation address within the folder where you want to download/clone the code from github - clone the github repository by pasting this command
git clone https://github.com/BishwaBS/Alert_Behavior.git
- change the working directory to Alert_Behavior
cd Alert_Behavior
- run the setup file found within the Alert_Behavior
python setup.py install
- open up the python program by typing
python
- type
import Alert_Behavior
- type
from Alert_Behavior import alert
- type
alert.start_session().start_alert()
Yayy! if you see the webcam video being launched, you successfully started the session. You can try by moving your fingers near to nose and mouth and you will hear the beep sound. If you have a habit of touching nose and mouth with your fingers, this annoying beep sound will deter you from doing that.
STAY HEALTHY , STAY SAFE!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Alert_Behavior-1.tar.gz
.
File metadata
- Download URL: Alert_Behavior-1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 880cf9d86f631cd5ae6a96995725e728cb294ff184dcb9d284ed8b85076d6eba |
|
MD5 | 77fcd018a833ebba4b8b6afcf53b1241 |
|
BLAKE2b-256 | 860b7cb2fd1bfe1820aeb9cc79d6af577155e980bffe2098bf17db94b041f711 |
File details
Details for the file Alert_Behavior-1-py3-none-any.whl
.
File metadata
- Download URL: Alert_Behavior-1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2f60c10c7ca11cba0cfdde8a758aab17752ded67280a7f33e0b19b0d727f5c9 |
|
MD5 | 0009a9fcb3a10588efd2e354ae96511f |
|
BLAKE2b-256 | d3985f153c7021cfd6212b081ec16e4cee780e6425bba5697286976228af9090 |