Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could I expand loaded image size? #44

Open
89douner opened this issue Aug 7, 2018 · 4 comments
Open

Could I expand loaded image size? #44

89douner opened this issue Aug 7, 2018 · 4 comments

Comments

@89douner
Copy link

89douner commented Aug 7, 2018

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?

@enriqueav
Copy link

You mean something like zoom in?

@89douner
Copy link
Author

89douner commented Aug 7, 2018

exactly, that's what I want!

@enriqueav
Copy link

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.

@89douner
Copy link
Author

89douner commented Aug 7, 2018

Hm.. I just wanna use "ctrl + mouse wheel " for zoom. Anyway, Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants