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

createTrackbar creates bars out of order and without numbers #5056

Closed
opencv-pushbot opened this issue Jul 27, 2015 · 30 comments · Fixed by #22047
Closed

createTrackbar creates bars out of order and without numbers #5056

opencv-pushbot opened this issue Jul 27, 2015 · 30 comments · Fixed by #22047

Comments

@opencv-pushbot
Copy link
Contributor

Transferred from http://code.opencv.org/issues/4459

|| Mitch Berkson on 2015-07-02 14:39
|| Priority: Normal
|| Affected: branch 'master' (3.0-dev)
|| Category: None
|| Tracker: Bug
|| Difficulty: Medium
|| PR: 
|| Platform: x86 / Mac OSX

createTrackbar creates bars out of order and without numbers

Trackbars are created without numbers.  They are also not created in the order written in the code.

History

@ottogutierrez
Copy link

Has this been resolved?

@robertoandrade
Copy link

Having similar issues here. Is there a way to control either at creation or afterwards?

@lucaslain
Copy link

nothing? Having the same issue.

@ghost
Copy link

ghost commented Nov 20, 2016

Also ran into this :(

@julien10
Copy link

Same issue on El Capitan, openCV 3.2.0

@virtuald
Copy link
Contributor

Same issue.

@ychenbioinfo
Copy link

Not solve yet...

@ignas2526
Copy link

Still an issue on El Capitan with OpenCV 3.2.0

@ghltshubh
Copy link

OpenCV => 3.3.1
Operating System / Platform => macOS 10.13(High Sierra)
Compiler => Anaconda Spyder 3.2.4 (Python 3.6)

@3togo
Copy link

3togo commented Jan 8, 2018

homebrew python has this problem as well

@sonanhson
Copy link

I have the same problem when running range-detector script of Adrian Rosebrock from Pyimagesearch.

It works well on windows but when running on MacOS High Sierra 10.13.6, Python 3.7.0 and OpenCV 4.0.0-pre, it does not display number and has wrong order of the bars.

Hopefully some experts can fix it soon.

@seanjohnsonmakes
Copy link

Just ran into this issue as well

@nniv-cmyk
Copy link

same problem here

@ankit-2017
Copy link

Any solution?

@gtteixeira
Copy link

My Solution:
It is a conflict between a previously installed version of openCV and a new one. I recently encountered the same problem.
I had installed in my environment conda, an opencv via conda install and it was working perfectly.
However, when I needed to install the
"opencv-contrib-python" via pip I did not uninstall the previous opencv and the problem started to occur.
After that, I fix it by creating a new environment and reinstalling ONLY the last library.
Now it is ok.

I am using
Windows 10
Anaconda3 2020 64bits python 3.8
opencv-contrib-python 4.3.0.38

@jonnio
Copy link

jonnio commented Dec 10, 2020

I have the same issue. Trackbars work but no value is displayed. MacOS Catalina

@heart
Copy link

heart commented Apr 26, 2021

Ok sinc 2015 and now is 2021

MacOS Biug sur 11.2.3
OpenCV 4.5.2

I have the sam issue

@jen-co
Copy link

jen-co commented May 3, 2021

I have the same issue - No values displayed on trackbars:

macOS Catalina 10.15.7
Python 3.6.10
OpenCV: opencv-python-3.4.13.47 (installed with pip on a conda environment)

@kokomonci
Copy link

any solutions? I can't make any process in my project :(

@seikimaii
Copy link

I have the same issue :(
bars out of order - No values displayed on trackbars:
MacOS Big sur 11.4
OpenCV: opencv-python-4.5.2 (installed with pip on a conda environment)
Python 3.7.10

@abinjohnthomas
Copy link

Facing the issue in MacOS Big sur 11.5.2
opencv 4.5.3

@HMS-TRINIDAD
Copy link

HMS-TRINIDAD commented Oct 3, 2021

same issue :(
Trackbars are created without numbers. They are also not created in the order written in the code.
Platform: m1 / Mac OSX
PL: C++

@dan-masek
Copy link
Contributor

Ok sinc 2015 and now is 2021

It's a free, open source library. So far for those 6 years, most people running into the problem seem to be content with just posting a "me too", rather than rolling up their sleeves and having a shot at fixing it.

@heart
Copy link

heart commented Oct 3, 2021

I'm sorry that I'm not competent enough to fix it myself.
I'm just a noob user.

@crackwitz
Copy link
Contributor

I'm just here as a spectator. Apple has rented me none of their devices to use.

If anyone feels like getting to know Cocoa, or already knows it, here is the code to dig into:

https://github.com/opencv/opencv/blob/master/modules/highgui/src/window_cocoa.mm

@heart
Copy link

heart commented Oct 3, 2021

@dan-masek I just try to learn OpenCV from the tutorial on youtube then I am stuck here.
I don't have the skill to resolve this yet.

I think many people have the same problem as mine
That's why we can only say me too even if we want to help to fix it.

@crackwitz
Copy link
Contributor

crackwitz commented Oct 3, 2021

That's perfectly okay. Reporting an issue is good work already and it is appreciated.

Open source should remember that not everyone has the time to get familiar with an unfamiliar code base. It's there for the curious and exploration should be encouraged, but it should not be an obligation. Nor can volunteer developers, who work on the parts of it they're personally interested in, be expected to fix issues in a timely manner. The work never ends and the few people that do get paid receive priorities attached with the money.

@Gubba-Jaydeep
Copy link

For me, on windows, the trackbar is appearing properly,
But on macOS, the trackbar is out of shape and numbers are not appearing.

@CaptainHarlockSSX
Copy link

Hi, I'm on macOS and I use openCV for a university project.

Trackbars not showing values is a bit annoying so I'll try fixing this bug.

It's the first time I'm contributing to an open-source project, and I'm still a junior developper so it may take some time but I'll do my best.

@jlopezr
Copy link
Contributor

jlopezr commented May 29, 2022

I just send a PR to solve the order problem. If it is accepted, I will have a look on the numbers issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment