Load two folders and manually annotate the preference for each image pair from the two image folders.
pip install PyQt5 Pillow
then run
python image_preference.py
-
- Load image folder A and folder B (Google drive)
Please select correct folder when loading image folder.
-
- Set up the range of images you need to annotate.**
-
- Load the prompt json file (imgName2prompt.json)
-
- Load the previsouly saved annotation json file (optional)
-
- Begin to anotate. Select the image you prefere. (click the buttom
left
,right
, orno preference
)
- Begin to anotate. Select the image you prefere. (click the buttom
-
- Exit and save your annotations
The system will automatically save your annotations as annotations.json. This file can also be used to resume your annotation