Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
1
Help us understand the problem. What are the problem?

More than 1 year has passed since last update.

@SEIHI

Centosにpython3.6+tesseractを入れて画像識別用の環境を作る

Install python3.6

# install python36
yum -y install python36
cd /usr/bin/
ls -al python*

# 使いやすくリンクを作る
# ※既存の/usr/bin/pythonは触らないでください。
#   yumが使うのでpython3に差し替えたらエラーになったりします。
ln -s python3.6 py

Install pip

# install pip
mkdir -p ~/work/install-python
cd ~/work/install-python
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
py get-pip.py

Install tesseract

yum -y install epel-release
yum -y install tesseract

# install pytesseract
pip install pytesseract

pip install requests
pip install demjson
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
1
Help us understand the problem. What are the problem?