Yolo学習用データセットの作成法のメモ。Yoloの学習データを作成するときは、画像からオブジェクトの領域を矩形で指定する必要がある。そのためのツールとしては、BBox-Label-Toolがあるが、使いづらい上に、矩形領域のテキストファイルをYolo用に変更しなければならず手間が多い。Yolo用のテキストファイルも生成できるtzutalinさんのlabelImgを紹介する。 GitHubリポジトリ labelImg インストール (Ubuntu16.04, python3) cd src git clone https://github.com/tzutalin/labelImg.git sudo apt install python3-pip cd labelImg sudo pip3 install -r requirements/requirements-linux-python3
![Yolo学習用データセットの作成ツール:labelImg](https://cdn-ak-scissors.b.st-hatena.com/image/square/d8699a80da1ecbcb2e89c248cd04173c99bde88e/height=288;version=1;width=512/https%3A%2F%2Fdemura.net%2Fwp-content%2Fuploads%2F2018%2F03%2FlabelImg4.png)