参考:
https://qiita.com/kotauchisunsun/items/bdbdca2ddb9036e29ab1
https://arvrjourney.com/human-pose-estimation-using-openpose-with-tensorflow-part-2-e78ab9104fc8
1. 系统信息
- Centos7操作系统
- i3处理器
- 4G内存
2. tf-openpose github地址
代码:https://github.com/ildoonet/tf-pose-estimation
3. 环境安装
包括Anaconda3 Tensorflow-gpu Opencv3.0 显卡驱动等参考前面博文:【Tensorflow gpu】Centos7 安装显卡Geforce GT1030跑tensorflow和【Anaconda3】【tensorflow-gpu】anaconda3下安装tensorflow-gpu
4. tf-openpose使用
4.1 install
tf-openpose依赖:
- python3
- tensorflow 1.4.1+
- opencv3,protobuf,python3-tk
下载代码:
$ git clone https://www.github.com/ildoonet/tf-openpose
$ cd tf-openpose
4.2 Realtime Webcam
运行:
$ python3 run_webcam.py --model=mobilenet_thin --resolution=432x368 --camera=0
效果: