18 questions from the last 30 days
3
votes
1
answer
776
views
I am having problems trying to install opencv-python
Im trying to install this package using my windows 11 machine, python version 3.14.0 and pip version 25.3 and numpy 2.3.4
This is what I get:
Installing build dependencies ... done
Getting ...
2
votes
0
answers
205
views
Why does setting a slightly smaller resolution(e.g., 1900×1080 instead of 1920×1080) drastically improve USB camera performance in OpenCV on Windows [closed]
I'm using OpenCV-Python on Windows 11 to capture video from a USB camera for object detection tasks. However, I noticed that the camera’s frame rate is extremely low — maybe only about 1 FPS, even ...
1
vote
2
answers
138
views
How to close a gap in the contour in OpenCV
I have a problem that I struggle with and cant seem to find a solution;
I want to get the area of the contours I see in this image/video frame:
The problem is the contour is cut off at the right as ...
Tooling
0
votes
2
replies
83
views
How to remove colors from image keeping black, white and gray
PaddleSharp is used to find orientation and get text form image below:
using Mat imgSrc = Mat.FromImageData(image);
PaddleRotationDetector detector = new(RotationDetectionModel....
0
votes
0
answers
75
views
importing opencv-python in an embeded python program
I have a problem with a little program Im making
This is my program:
#define PY_SSIZE_T_CLEAN
#include <Python.h>
int main() {
Py_SetPythonHome(L"C:/Users/fxct/AppData/Local/Python/...
1
vote
0
answers
61
views
OpenCV-Python with PyQt5: Qt platform plugin "xcb" error and cv2.imshow not working on Linux
I'm trying to use OpenCV with PyQt5 on Linux, but encountering Qt compatibility issues. When I install opencv-python, I get Qt platform plugin errors that prevent the application from starting. When I ...
0
votes
0
answers
40
views
How to measure plant length in pixels using PlantCV
I am trying to use PlantCV to track the growth of seedlings, I am currently trying to get it to work on a single seedling before scaling it to track the growth of multiple seedlings. After some image ...
0
votes
0
answers
58
views
OpenCV - LOG_LEVEL_SILENT doesn't work when reading image from file using imread
I would like to silence OpenCV errors that occur while attempting to read an image that it does not support, example HEIC. I have tried setting the OPENCV_LOG_LEVEL environment variable as well as the ...
0
votes
0
answers
25
views
opencv.js in node throws abort(ReferenceError: document is not defined)
I want to use opencv in node. Found @techstark/opencv-js and looks promising, but I cannot run even a simple example.
I've installed the examples from https://github.com/TechStark/opencv-js-examples. ...