Image label
Nov 12, 2020
My note for Image label, I use labelImg on mac. This note will make labelImg from source.
First, Clone repository from github. Create new directory for virtual env.
git clone https://github.com/tzutalin/labelImg.git
cd labelImg
virtualenv .
This will create virtual environment in your_current_path/labelImg
Start virtual env by
source bin/activate
Then use pip to install pyqt5 and lxml.
pip install pyqt5 lxml
Make from source.
make qt5py3
Launch labelImg
python labelImg.py
You can select “Open Dir” to open image directory, then start to label your images.
Use RectBox tools to highlight and label.
When save you will get xml files with images label data.
Next note, I will convert Pascal VOC dataset to TFRecord.