Cara Install LabelImg di Windows menggunakan Anaconda - ihsanhaaa/Seputar-Windows GitHub Wiki

Apa itu LabelImg?

LabelImg adalah alat anotasi gambar grafis yang menyediakan gambar dengan kotak pembatas setelah pelabelan. Itu ditulis dengan Python dan menggunakan Qt (salah satu GUI paling umum untuk python) untuk antarmuka grafisnya. Data berlabel keluaran disimpan sebagai file XML dalam format PASCAL VOC, format yang digunakan oleh ImageNet. Juga, format YOLO didukung dalam alat ini.

Proses Instalasi

Membuat mesin virtual di env project

Do the following commands:

conda create -n env_name

conda activate env_name

Contoh

conda create -n labelimg

conda activate labelimg

Install python (version < 3.8.x):

Do the following commands:

conda install python=3.7.0

Install tensorflow:

conda install tensorflow

this command will install the latest version of tensorflow

Install pyqt 5:

These are prerequisite packages needed to be imported before running labelImg.

conda install pyqt=5

Install lxml:

conda install -c anaconda lxml

Install labelImg package.

Download package github labelImg from https://github.com/tzutalin/labelImg and extract into folder. Change the current directory to the folder of labelImg.

cd path_to_lablelImg_folder

e.g:

cd C:\Users\IhsanHaryansyah\Desktop\labelImg

Do the following command:

pyrcc5 -o resources.py resources.qrc

pyrcc5 -o libs/resources.py resources.qrc

python labelImg.py

Open labelImg after the first installation.

cd path_to_lablelImg_folder

Do the follow command:

python labelImg.py

Sumber: https://medium.com/@sanghuynh_73086/how-to-install-labelimg-in-windows-with-anaconda-c659b27f0f