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

The library is compiled without QT support in function displayOverlay #2

Open
ryukinix opened this issue Feb 10, 2018 · 23 comments
Open

Comments

@ryukinix
Copy link

ryukinix commented Feb 10, 2018

~/Desktop/yolo-boundingbox-labeler-GUI master
❯ python run.py
OpenCV Error: The function/feature is not implemented (The library is compiled without QT support) in displayOverlay, file /build/opencv/src/opencv-3.4.0/modules/highgui/src/window.cpp, line 528
Traceback (most recent call last):
  File "run.py", line 203, in <module>
    change_img_index(0)
  File "run.py", line 25, in change_img_index
    "" + str(last_img_index), 1000)
cv2.error: /build/opencv/src/opencv-3.4.0/modules/highgui/src/window.cpp:528: error: (-213) The library is compiled without QT support in function displayOverlay
python: 3.6.4
numpy: 1.14.0 
cv2: 3.4.0
distro: Artix Linux (4.9.77-1-lts #1 SMP Wed Jan 17 16:57:30 UTC 2018 x86_64 GNU/Linux)
@Cartucho
Copy link
Owner

Could you recompile OpenCV using WITH_QT=ON ?

@Cartucho
Copy link
Owner

@ryukinix Did it work?

@INNFINITEMINDS
Copy link

sir!!!
i also getting same erroro please help !!!!
also tell me hoe to solve ethis error ?
also how can we recompile OpenCV using WITH_QT=ON ?

please help !!!!!!!
###############################################
i m using python 3.6.3 version
error !!!!!!!!!!!!!!!!!!!!!!!
OpenCV Error: The function/feature is not implemented (The library is compiled without QT support) in cv::displayOverlay, file D:\Build\OpenCV\opencv-3.4.0\modules\highgui\src\window.cpp, line 528
Traceback (most recent call last):
File "C:\Users\admin\Desktop\yolo-boundingbox-labeler-GUI\try.py", line 221, in
change_img_index(0)
File "C:\Users\admin\Desktop\yolo-boundingbox-labeler-GUI\try.py", line 22, in change_img_index
"" + str(last_img_index), 1000)
cv2.error: D:\Build\OpenCV\opencv-3.4.0\modules\highgui\src\window.cpp:528: error: (-213) The library is compiled without QT support in function cv::displayOverlay

[Finished in 0.357s]

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

@Cartucho
Copy link
Owner

@INNFINITEMINDS
How did you install OpenCV? Which method?

I uploaded the question on StackOverflow

@Cartucho
Copy link
Owner

@INNFINITEMINDS
Qt has this tutorial on how to set Qt and OpenCV on Windows.

@MattKleinsmith
Copy link
Contributor

I installed opencv with pip and things are working for me:

pip install opencv-python

My environment:

Ubuntu 16.04, Python 3.6.3, Anaconda 5.0.1

@INNFINITEMINDS
Copy link

hello!!
i have installed opencv by downloading windows binary and then i use commAND PROPMT TO INSTALL THEM!!

HOW TO SOLVE THIS ERROR??

@timonsku
Copy link

Using pip install opencv-python on Windows 10 seems to install a version that also doesn't have QT support compiled into it.

@Cartucho
Copy link
Owner

Cartucho commented Mar 1, 2018

@PTS93 this weekend I will make a video on: "How to Install OpenCV3.4 on Windows with Qt";
I will share it here as soon as I have it.

@Cartucho
Copy link
Owner

Cartucho commented Mar 4, 2018

So I managed to install it but it took 4 hours...
Turns OpenCV did not make things easy for Windows users ... 👎

I decided that I will implement the functions using QT by myself (Zoom in and Zoom out).

It turns out that OpenCV wants to drop QT anyway.

This way you can simply do pip install

@INNFINITEMINDS
Copy link

ARE U GOING TO MAKE A VIDEO ON IT ?

@Cartucho
Copy link
Owner

Cartucho commented Mar 22, 2018

@INNFINITEMINDS could you please download the latest release and run that code?

This error shouldn't be occurring anymore. Without QT there is no ZOOM feature but the rest works fine.

@INNFINITEMINDS
Copy link

again i have tried and i m geting same error!!
error as follows >:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

OpenCV Error: The function/feature is not implemented (The library is compiled without QT support) in cv::displayOverlay, file D:\Build\OpenCV\opencv-3.3.1\modules\highgui\src\window.cpp, line 528
Traceback (most recent call last):
File "C:\Users\INFINITY\Desktop\yolo-boundingbox-labeler-GUI-master\run.py", line 327, in
change_img_index(0)
File "C:\Users\INFINITY\Desktop\yolo-boundingbox-labeler-GUI-master\run.py", line 37, in change_img_index
"" + str(last_img_index), 1000)
cv2.error: D:\Build\OpenCV\opencv-3.3.1\modules\highgui\src\window.cpp:528: error: (-213) The library is compiled without QT support in function cv::displayOverlay

[Finished in 8.026s]
Linter
Severity Provider Description Line
run.py000419:1
LF1 deprecationUTF-8Python0 files9:22

@Cartucho
Copy link
Owner

Cartucho commented Mar 22, 2018

@INNFINITEMINDS are you sure you are using the latest release code? Your error message shows otherwise. E.g: "" + str(last_img_index), 1000) is not in line 37 .

@INNFINITEMINDS
Copy link

can u please make a video on it i m unabel to start this:..i m getting same error

@INNFINITEMINDS
Copy link

i have insatalled python 3 on windows with the help of anaconda
now what should i have to do to run your script ?
help required

@arvind-cp
Copy link

I was getting this error with png images but works fine with jpg.

@Cartucho
Copy link
Owner

@arvind-cp I think YOLO only supports jpg images for training

@arvind-cp
Copy link

Right. Thx.

@aishkul1012
Copy link

sir!!!
i also getting same erroro please help !!!!
also tell me hoe to solve ethis error ?
also how can we recompile OpenCV using WITH_QT=ON ?

please help !!!!!!!
###############################################
i m using python 3.6.3 version
error !!!!!!!!!!!!!!!!!!!!!!!
OpenCV Error: The function/feature is not implemented (The library is compiled without QT support) in cv::displayOverlay, file D:\Build\OpenCV\opencv-3.4.0\modules\highgui\src\window.cpp, line 528
Traceback (most recent call last):
File "C:\Users\admin\Desktop\yolo-boundingbox-labeler-GUI\try.py", line 221, in
change_img_index(0)
File "C:\Users\admin\Desktop\yolo-boundingbox-labeler-GUI\try.py", line 22, in change_img_index
"" + str(last_img_index), 1000)
cv2.error: D:\Build\OpenCV\opencv-3.4.0\modules\highgui\src\window.cpp:528: error: (-213) The library is compiled without QT support in function cv::displayOverlay

[Finished in 0.357s]

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Hey Could you tell me how you solved this problem?
Facing the same error right now!

@DragonDoctor2033
Copy link

Same for me. Still get the same error. Install OpenCV from pyCharm terminal pip install. Any solutions?

@reemastha706
Copy link

I know the post is quite old. But I am running into the same problem. Anyone who got it solved? Based on another post on how to use qt with opencv, i downgraded the opencv version, but it's not working.

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

9 participants