图片分类标注软件是一个基于Python和Tkinter的简单图形用户界面应用,用于将图片按照给定的类别进行分类和标注。
- 选择包含要标注图片的文件夹。
- 选择用于存储标注后图片的输出文件夹。
- 在用户界面中查看要标注的图片。
- 使用右侧的类别按钮(1、2、3)对图片进行分类。
- 将分类后的图片直接剪切到对应类别的文件夹中。
- 显示已标注图片数和总图片数的进度。
-
安装必要的库:Pillow pip install Pillow
-
运行
image_classifier.py
文件以启动应用程序。 python image_classifier.py -
使用“选择图片文件夹”按钮选择要标注的图片所在的文件夹。
-
使用“选择输出文件夹”按钮选择要存储标注后的文件夹。
-
对左侧显示的图片使用右侧的类别按钮(1、2、3)进行分类。
-
图片将自动剪切到对应类别的文件夹中,并切换到下一张图片。
注意:请确保您的图片文件夹中只包含图片文件(.png、.jpg、.jpeg),否则程序可能无法正常工作。