73,040 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-2
votes
0
answers
72
views
Real-time license plate recognition system [closed]
I’ve built a vehicle entry/exit tracking system for a parking lot using YOLOv5-n for Persian license plate detection and recognition. The system works, but it’s not real-time as intended, causing ...
0
votes
0
answers
78
views
How to show QPixmap (camera feed) in QGraphicsView without cropping?
I have designed a GUI using QtDesigner which is a MainWindow with central widget that only has a graphics view.
In the following Python code, I used openCV to get a camera connection and tried to ...
-4
votes
0
answers
60
views
How to fix this code so it shows the image with python and cv? [closed]
I am trying to create a code which loads two images, and the use keys to align the two images manually by translating, rotating and zooming the second image relative to the first one. But this code ...
-2
votes
0
answers
124
views
Opencv compiles videos with wrong fps in tablet [closed]
I have python code that generates frames with pil and then opencv compiles them to video. Everything works great on a computer, but now I try to run same code on tablet and I can't get right framerate/...
-1
votes
0
answers
147
views
Python problem : Unknown C++ exception in opencv code
I have an opencv error that i don't understand at all.
Here is my code
def findHolds(img,detector = None):
img = cv2.GaussianBlur(img, (3, 5), 0)
gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
...
Best practices
0
votes
7
replies
95
views
How to extract contours for each stacked bag (web sling) in a depth image using OpenCV?
I’m working on an image-processing task in Python/OpenCV and I’m stuck on how to segment each "web sling" (stacked bag group) as an individual contour.
What I’m trying to achieve:
Detect each web ...
3
votes
0
answers
87
views
Compile python object detection app relying on OpenCV with PyInstaller
I have written a python script that captures a video stream from a camera and performs object detection.
I am using opencv for that.
opencv-python-headless 4.12.0.88 pypi_0 pypi
...
-1
votes
2
answers
104
views
CV2 not able to identify the valid numpy arrays
I am running a Python code for the pose detection using HRNet, and the cv2 throws an error for an invalid numpy array, even though the type matched the validity criteria.
This is giving error even ...
Best practices
0
votes
2
replies
115
views
How can I correctly extract table structure (rows, columns, merged cells) from a complex scanned image using OpenCV?
I’m trying to extract tabular data from a scanned engineering document.
The table contains:
merged header cells
irregular row heights
irregular column widths
faint and broken borders
text inside ...
-1
votes
1
answer
92
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 ...
1
vote
2
answers
159
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 ...
0
votes
0
answers
36
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. ...
1
vote
1
answer
110
views
Watershed fails to properly segmented objects
Currently I'm working on object detection for counting how many object presented on the frame. I already successfully separate some of them. There's still some object which is very close together ...
1
vote
1
answer
97
views
Not able to build opencv manually in python env
I am trying to build opencv from it's github repo manually and use it in the virtual python environment. I am unable to import opencv.
Previously I got the error as mentioned Here. The solution is to ...
0
votes
1
answer
126
views
OpenCV-Python with PyQt5: Qt platform plugin "xcb" error and cv2.imshow not working on Linux [duplicate]
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 ...