Creator: Jianming Yang
Preparation:
- Make a labe name file: each line is a label class, load firstly
- Prepare images that needs to be label in a folder, load secondly
Key uses: 0. Default first class (Key_1), number key to change class, 0 is the 10th class, F1 for 11th, and so on
- Left Click and drag to draw box
- Right click and drag to move box
- Key_V to copy previous image's label to the current one, if the previous one does not have label file/ label file is empty then copy from 10 images ago
- Key_C to clear all boxes on current image
- Key_Backspace to delete the box where the cursor is pointing
- Key_A to start adjusting the box where the cursor is pointing:
- left click on the squares to modify the box
- Key_D go to the next image
- Key_S go to the previsous one
- Key_F go to the 10 images later
Colors: (besides the box colors)
- cyan - you are drawing a new box
- red - you are dragging a box
- yellow - you are adjusting a box
To Do: 1. When the text is outside the image, it auto fits to the view - shrinking image & deforming boxes ------------- sol: print where it's in the image 2. Make the class panel clickagble to account for # of classes greater than 10 3. Add go back function 4. Clean up code to make it look nicer