BBox-Label-Tool
BBox-Label-Tool copied to clipboard
Could I expand loaded image size?
When I draw a bounding box in main.py, the ROI the boudning box applied is a little small. I just wanna increase the loaded image size for more accurate bounding box. is there a tool or method in main.py program? (or do I write some code for this?
You mean something like zoom in?
exactly, that's what I want!
You may resize the (PIL) image right before putting it in the main panel. Around line 173:
self.img = self.img.resize((self.img.size[0]*2, self.img.size[1]*2), Image.ANTIALIAS)
This will mess with coordinates of bounding boxes though.
Hm.. I just wanna use "ctrl + mouse wheel " for zoom. Anyway, Thanks !