- Use Anaconda's OpenCV or any OpenCV version supporting Qt.
conda install -c conda-forge opencv
-
Put images in folder
image
and raw labels inimage_gt
. -
Image and corresponding label should have a same name.
-
Run the labeling tool:
python labeling.py -i './image/' -l './image_gt/'
- Instruction:
Pen: w; Eraser: e; Magic: m; Undo Magic: n; Line: t;
Fill internal spaces: g
Save: s; Reload: r;
+Pensize: z; -Pensize: x;
Next image: f
Previous image: d