iHunch means Forward Head Posture (FHP). In Chinese, iHunch is "頸前傾". Forward Head Posture is the cause of discomfort in the upper back and the neck. Normally, the center of our head should be directly above the neck, and the center of the top of the head should be in a straight line with the first cervical vertebra (C1) and the midline of the body. But for the people with FHP, the center of the head is obliquely in front of the neck, that is, in front of this straight line.
Confirm the relative position of the head through face detection, and detect whether the users are hunched. If the users are hunched, Anti iHunch will remind the users to keep their heads up.
- for Mac or Linux
git clone https://github.com/KuiMing/anti_iHunch.git
cd anti_iHunch
python3.7 setup.py install
- for windows
python3.7 main.py --setting
- Select Camera.
- Please keep your head up, and let the red rectangle be around your face.
- Adjust the camera until the rectangle is at the bottom of the frame.
- Set maximum time period of FPH.
- The system will calculate the mean detected face area.
- The system will save the configure file.
python3.7 main.py --show
python3.7 main.py
- Use Anti iHunch without python script
- Unzip
Anti_iHunch.zip
. - Double click
Anti_iHunch
.
- Click
Setting
to createconfig.json
for your own. - Click
Detect FHP
.