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

Create method to select multiple zones #21

Closed
fernaper opened this issue Mar 3, 2019 · 0 comments
Closed

Create method to select multiple zones #21

fernaper opened this issue Mar 3, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@fernaper
Copy link
Owner

fernaper commented Mar 3, 2019

Right now we can call the method select_zone() to draw a zone with his tags.
If you want to select more than a zone you need to call this method multiple times.
This is okay, but it is not perfect becouse the "intelligence" to position the tags don't ask the rest of the calls to that method.
Therefore, I think it is a good idea to create a new method called select_multiple_zone().
This method will try to posicionate correctly all the tags knowing the other zones.

Porbably we will need to add another library to do this: https://labix.org/python-constraint

@fernaper fernaper added the enhancement New feature or request label Mar 3, 2019
@fernaper fernaper self-assigned this Mar 3, 2019
@fernaper fernaper added this to To DO in opencv-draw-tools via automation Mar 3, 2019
fernaper added a commit that referenced this issue Mar 10, 2019
✨ It is really smart selecting where to place tags
🐛 Also fixed bugs with tags placement
🐛 Detected bug when changing the margin parameter (for now, dont 
change it)
opencv-draw-tools automation moved this from To DO to Done Mar 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant