今天抽空把tf-pose-estimation的环境配置起来玩了一下:
github地址:
https://github.com/ildoonet/tf-pose-estimation
1.安装python 3.7
python -V
Python 3.7.2
2.安装缺失包
python -m pip install numpy
pip3 install opencv-python
git clone https://www.github.com/ildoonet/tf-openpose
cd tf-openpose
pip3 install -r requirements.txt
swig -python -c++ pafprocess.i && python setup.py build_ext --inplace
- 因为download.sh不能在windows运行,手动下载训练库:
http://download692.mediafire.com/rwisanjkq2kg/qlzzr20mpocnpa3/graph_opt.pb
4.测试:
在我的电脑上没有gpu,只有cpu能跑到3帧的样子
python run_webcam.py --model=mobilenet_thin --resize=432x368 --camera=0
网友评论