All Questions
1,100
questions
0
votes
0
answers
37
views
Create a window in Qt not blocked by modal windows [closed]
I am creating an application in Qt (for Windows), which has a main window and many dialogs, which are opened in modal mode. But I also need to create windows that are not affected (blocked) by the ...
0
votes
0
answers
39
views
Low-latency RTSP stream using OpenCV and ffmpeg seems to ignore flags
I'm writing a Qt6 application in C++ which should display and optionally store mutltiple RTSP streams. Currently, I'm using OpenCV to capture the stream:
m_capture = new cv::VideoCapture("rtsp://...
0
votes
1
answer
46
views
Running executable that was statically linked with OpenCV with Qt option
Hi:I've successfully built the OpenCV 4.8.0 library in static library mode with the Qt option using vcpkg.
vcpkg.exe install opencv[ade,contrib,default-features,dnn,eigen,ffmpeg,freetype,gdcm,jasper,...
1
vote
1
answer
145
views
Use OpenCV in qt qmake project: undefined reference
I want to use OpenCV in a QT qmake project. The vrsions are opencv 4.9.0 and QT 5.15.2(MSV 2019,64bit).
.pro file
INCLUDEPATH += C:/opencv/build/include
LIBS += -LC:/opencv/build/x64/vc16/lib \
...
1
vote
0
answers
59
views
cv.namedWindow title is not shown correctly(shows garbage) with Qt on Ubuntu
import cv2 as cv
img_c = cv.imread('candy.jpg', cv.IMREAD_COLOR)
cv.namedWindow('Image', cv.WINDOW_NORMAL)
cv.resizeWindow('Image', (600, 300))
cv.imshow('Image', img_c)
cv.setWindowTitle('Image', '...
1
vote
1
answer
122
views
Persistent "Qt platform plugin 'xcb' not found" Error in PyInstaller Bundled App on RK3568 SoC
I am developing an application for an ARM64-based embedded terminal using Python and OpenCV, bundled with PyInstaller. Despite successful compilation and deployment, the application fails to start on ...
0
votes
0
answers
12
views
How to run vis_cam.py in the project of openmixup?
Q:qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/root/anaconda/envs/openmix/lib/python3.8/site-packages/cv2/qt/plugins" even though it was found. This application ...
0
votes
1
answer
40
views
How to capture just the game area of a specific window in C++ (with opencv implementation)
I am trying to capture just the game area of a specific window.
Here is the code I have:
HWND GameWindowManager::findGameWindow() {
HWND hwndGame = NULL;
EnumWindows(EnumWindowsProc, ...
0
votes
0
answers
42
views
Qt + openCV for saving images into video causes distorted video
We have a QT based C++ application running on windows.
We are reading a data file which provides us images which we save in QPixmap variable.
When the data file is read in for loop huge number of ...
0
votes
0
answers
43
views
Displaying live camera feed in Qt
I am doing camera calibration through Qt. I have several windows for it, such as exposure, blur, distortion and so on. I want to show the live camera feed in the labels present in each of the windows.
...
0
votes
0
answers
34
views
"error while loading shared libraries: "libopencv_core.so"" output when running a cross-compiled program transplanted to ARM
When I am on the Ubuntu server cross-compiled Qt program, the compiled project produces no error. But the cross-compiled program transplanted to ARM does.
The file is mentioned in the error, I have ...
0
votes
1
answer
160
views
undefined reference to cv::aruco::getPredefinedDictionary(cv::aruco::PredefinedDictionaryType)
I'm trying to make a program in Qt that receives an image from TCP and then finds an ArUco marker inside of it.
Everything works fine except for the ArUco library. Once I added a simple line defining ...
0
votes
0
answers
77
views
QVideoFrame toImage() API memory leak
I'm using QVideoFrame::toImage() to convert a video frame to OpenCV mat. Visual Studio is showing a huge memory leak every time the function is called. I'm using QT 6.5
This is the code that I'm ...
0
votes
0
answers
45
views
QT screen crashes after executing OpenCV function 'VideoWriter.open'
I'm using the QTCreator IDE to create my screens, in addition to that, I'm using the OpenCV library to capture frames from my webcam and display them in the QLabel of the QT screen. When clicking the ...
0
votes
1
answer
174
views
Image transformation in OpenCV and Qt C++
I have set of images taken from right side of object like image1. I need to rotate it about vertical axis and change it tobe like image2.
Is that affine transformation useful to convert image1 to ...