Skip to content

python-openpose determines whether user's neck is bended or not

Notifications You must be signed in to change notification settings

eong-geum/iot_turtleProject-openpose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iot_turtleProject-openpose

python-openpose determines whether user's neck is bended or not
사진을 분석하여 사용자의 목 각도를 측정하는 모듈

사진에 보이는 사용자의 옆모습에서,
목 아래 부터 귀까지의 직선이 얼마나 기울어졌는지 측정하여 거북목을 판단한다.

demo results

스크린샷 2021-10-15 오후 5 15 46

스크린샷 2021-10-15 오후 5 15 57

reference

Installation

  1. Download zip file
  2. Go to openpose-master and download zip file.
  3. In that file, model installation command for Mac
cd openpose-master
./models/getModels.sh

for Windows

./models/getModels.bat
  1. When installation is done, copy files models/pose/body_25/pose_deploy.prototxt and models/pose/body_25/pose_iter_584000.caffemodel
  2. put those files in same directory that main.py exists.
  3. put one or more image files in the same directory, and correct image files' name in main.py code.
  4. install opencv-python
pip install opencv-python
  1. start command:
python3 main.py

About

python-openpose determines whether user's neck is bended or not

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages