my customized label tool for my research
python main.py to start the app.
PyQt5==5.15.3, opencv-python==4.1.2.30, numpy==1.21.4, pycocotools==2.0.0.1
Note that the pycocotools installation process is a little bit complicated. I'll demonstrate the process for Windows OS
pip install pycocotools-windows
or
Visit the https://pypi.tuna.tsinghua.edu.cn/simple/pycocotools-windows/ and install the appropriate wheel file.
Go to download file folder and pip install wheel file name.
I also had exported the requirements.txt which you can refer to.
There's may have the area which is not closed (first image). Since algo behind is computing the convex hull of multiple area, thus we can select the most of the interested area (second image) to approximately achieve the result (third image).
- Wheel for zoom-in / out image
- Left-click and not released can drag the image
- Right-click to draw temp mask
- A for undo
- S for turning temp mask to final mask
- Ctrl + S for exporting json file
- Ctrl + Z is same as A
- open image through Open Image button or open a floder through Open Folder button and double-click the filename in the lower right corner.
- adjust image through wheel and left-click, right-click the area you want to fill, the light yellow represent the area you want.
- the light yellow mask is tentative, press S to accept the final mask.
- after finish, press Ctrl + S or Save button in the left to store json file.
- hover mouse with right-click can also draw temp mask
