LoginSignup
5
2

More than 3 years have passed since last update.

LabelImgをMacにインストール

Last updated at Posted at 2020-07-31

labelImgとは

無料のアノテーション(画像ラベリング)ツールで、物体検出の教師データ作成に使用する。VoTTと比較して、UIが初心者向けなので、採用しました。

今回はインストール手順を記載。

labelImgのGithub
https://github.com/tzutalin/labelImg

インストール準備

ターミナルを開く。
image.png

brew更新(念のため)

brew update

gitの更新

brew install git

作業場所を作成

mkdir ~/Work
cd ~/Work

labelImgのダウンロード

git clone git@github.com:tzutalin/labelImg.git

gitの設定エラーがでた場合

E-mailと名前の設定

git config --global user.email example@example.com
git config --global user.name hogehoge

インストール

cd ./labelImg
brew install python3
pip3 install pipenv
pipenv --three

pipenv shell

pip install pyqt5 lxml

make qt5py3

rm -rf build dist

python setup.py py2app

cp -rf dist/labelImg.app /Applications

exit

参考

【labelImg:物体検出】公式READMEが当てにならない件
https://qiita.com/mdo4nt6n/items/46d53e19ed65c44c0eb7

インストール完了

こんな画面が表示されたらOK

※画像の部分は何も表示されなくてOK

image.png

次回以降の起動方法

デスクトップにアイコンができるらしい。

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2