目的复现代码
完成视频中的人体姿态识别
复现过程
视频来源:https://www.youtube.com/watch?v=cMhWNGBW1Xgwww.youtube.com
视频动图
检测结果下载的画质本来就不高,再加上两次录屏,画质比较渣。
首先确认工程所需要的依赖:python3
tensorflow 1.4.1+
opencv3, protobuf, python3-tk
slidingwindow
然后进行安装:
$ git clone https://www.github.com/ildoonet/tf-pose-estimation
$ cd tf-pose-estimation
$ pip3 install -r requirements.txt
这里我的当前的环境中,pip对应的版本是python3,所以修改该命令为
pip install -r requirements.txt
遇到以下问题:
Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple/
Collecting git+https://github.com/ppwwyyxx/tensorpack.git
Cloning https://github.com/ppwwyyxx/tensorpack.git to /tmp/pip-req-build-d9276zkb
Complete output from command python setup.py egg_info:
Traceba