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

Upgrade intelligence if theres not a perfect solution #45

Closed
fernaper opened this issue Apr 22, 2019 · 1 comment
Closed

Upgrade intelligence if theres not a perfect solution #45

fernaper opened this issue Apr 22, 2019 · 1 comment
Assignees
Labels

Comments

@fernaper
Copy link
Owner

The algorithm that calculates all tags positions solves the problem if there is a perfect solution (is possible to find a solution without coliding tags with other tags or frames).

But if there is no option, right now it just ignore all the constraints and decide in order of priority.

Im thinking about soft constraints. With them we can choose the option with less coliding tags.

@fernaper fernaper added enhancement New feature or request idea labels Apr 22, 2019
@fernaper fernaper self-assigned this Apr 22, 2019
@fernaper
Copy link
Owner Author

Well... in the past I thought that this is not a really important issue but after some tests I figure out that this is so important because it can cause efficiency problems while not getting a good result.
So, right now we need to improve intelligence (probably we will need ro recreate the constraints with scipy) while limitting the time expended (so if it calculates the tags position to slowly, just skip it and put it where ever you want).

I think we should change all our hard constraints with soft constraints (minimization of crossing areas).

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

No branches or pull requests

1 participant