Due to some specific requirements in the project, I have modified the code. I hope these changes can help others with similar needs.
- [2024/11/25] add a file navigation bar with color-coded labels.
- [2024/11/25] only applicable for one-shot image labeling.
- [2024/11/25] change the default mode to "move".
- [2024/11/25] Increase the GUI and image sizes.
This app is used to label images in a given directory. Labeled images can be moved or copied into sub-directories, which are named as assigned labels. The app is just a single Python script with GUI.
For example you have folder ./data/images/ with a lot of images and you need to assign some label(s) to these images.
- it can assign multiple labels to one image
- it allows you to choose number and names of your labels
- it can move/copy images to folders that are named as desired labels.
- it can generate .csv file with assigned labels.
- it can generate .xlsx file with assigned labels.
- all settings are handled via GUI
-
Clone the project:
git clone https://github.com/jaminryu/image-classification-annotation-tool
-
Enter the directory and install the dependencies (you might need to use
pip3instead ofpip):cd image-classification-annotation-tool pip install -r requirements.txt -
Run the app (use
python3for Python 3)python main.py
- Right Arrow : Next image
- Left Arrow : Previous image
- 1-9: Select label
Pull requests are welcomed.