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

odd_make sliders show even numbers even though they have odd values underneath. #2

Open
LukasDauterman opened this issue Feb 6, 2020 · 1 comment

Comments

@LukasDauterman
Copy link

No description provided.

@geoff-va
Copy link
Owner

geoff-va commented Feb 6, 2020

Correct ... unfortunately. This has always bothered me as well.

As far as I know, the GUI tools that opencv provides are just thin wrappers over QT components, so we kind of only get access to what they provide.

These are the two main pages I have been using as reference:

I haven't seen any methods for updating the text of a trackbar itself, or being able to control the adjustment size of the bar itself. I'm thinking we may have to build a new QT app from scratch if you want that kind of detailed control.

If you do find any references to that could implement this, I'd be happy to look into it.

Ideally, I would prefer that the trackbar to display the final calculated value of each Param as opposed to the trackbar position itself.

This is also an issue if you want to do something like provide values 1-10, but have 100 increments. In the current solution we have to use a _max=100 and adjust=scale(0.1) to get that kind of resolution, but the trackbar will still show 0-100.

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