Summary of things that need to be installed to run tf-pose-estimation

cmu_tennis_v3_10_data.jpg

Overview

Note that there were quite a few things to install in advance when running tf-pose-estimation, which caused it to get stuck. By the way, the introduction of tf-pose-estimation was done by referring to the following article. https://qiita.com/ikekou/items/9a632b10588b423db172

Things that need to be installed

Git This is a preliminary work required when executing the following command. git clone https://www.github.com/ildoonet/tf-pose-estimation

Anyway, put Git. You can't clone a project without Git.

Introduced Git on Mac (using Homebrew) https://qiita.com/kimurayut/items/6f50cf1060e44e664c3b

python、pip、numpy This is a preliminary work required when executing the following command. pip3 install -r requirements.txt Since tf-pose-estimation is often used using python, it is included. Also, install is pip. numpy is imported in the module of the project, so put it in.

I think it's okay, but if you are not familiar with it, please install it by following the steps below.

$ brew install pyenv
$ pyenv install 3.6.5
$ pyenv global 3.6.5  
$ eval "$(pyenv init -)"
$ pip3 install numpy

pcre,swig This is a preliminary work required when executing the following command. $ swig -python -c++ pafprocess.i && python3 setup.py build_ext --inplace

Please refer to the procedure in the following article for installation. https://qiita.com/Rotten_Fruits/items/bb4764c765d7e1cdf96f

wget This is a preliminary work required when executing the following command. bash download.sh

[Installation method]

$ brew install wget

opencv,tensorflow This is a preliminary work required when executing the following command. python -c 'import tf_pose; tf_pose.infer(image="./images/p1.jpg ")'

[Installation method]

$ pip install opencv-python
$ pip install -U tensorflow==1.15)
* The version of tensorflow is 1.Please set to 15

that's all

This should be a smooth introduction!

Recommended Posts

Summary of things that need to be installed to run tf-pose-estimation
Summary of examples that cannot be pyTorch backward
Summary of things that were convenient when using pandas
[Python] Introduction to web scraping | Summary of methods that can be used with webdriver
Format summary of formats that can be serialized with gensim
Processing of python3 that seems to be usable in paiza
Summary of Python implementation know-how and tips that AI engineers want to be careful about
Here's a summary of things that might be useful when dealing with complex numbers in Python
Install packages that need to be compiled with Python3 with pip [Windows]
Comparison of 4 styles that can be passed to seaborn with set_context
Summary of how to use pandas.DataFrame.loc
Summary of how to use pyenv-virtualenv
Confirmation that rkhunter can be installed
Summary of how to use csvkit
Spigot (Bukkit) Java startup options don't need to be tuned that much
[Python] A program that calculates the number of socks to be paired
Things to be aware of when building a recommender system using Item2Vec
Description and summary of what you need to install Chainer on Mac
[Python] Summary of how to use pandas
[Python2.7] Summary of how to use unittest
Summary of procedures up to PyPI registration
Summary of vtkThreshold (updated from time to time)
Summary of how to use Python list
[Python2.7] Summary of how to use subprocess
Summary of how to write AWS Lambda
Atcoder Beginner Contest A, B Input summary Python that tends to be a problem
Summary of scikit-learn data sources that can be used when writing analysis articles