Questions tagged [opencv]
OpenCV (Open Source Computer Vision) is a library for real time computer vision. When using this tag, please add a language specific tag (python, c++, ...), if relevant.
opencv
73,470
questions
-1
votes
1
answer
26
views
ImportError: DLL load failed while importing cv2: The specified module could not be found when "import fiftyone" and "import cv2"
I am using Python 3.11.4 and want to install Fiftyone.
I used pip install fiftyone command on Command Prompt. But when I used import fiftyone as fo it reported ImportError: DLL load failed while ...
-1
votes
0
answers
21
views
OpenCV Python: match template that contains repeating shape to only one match in other image [closed]
I have a template that has a simple geometric shape repeated 13 times in it. I need to match this to another picture. The rotation / scale will be a little off so I looked into OpenCV (using python), ...
0
votes
1
answer
51
views
Subtract two images using alpha channel in python OpenCV
I want to subtract one image from the other using the first one's alpha channel.
The problem is really hard for me to explain by words, so please bear with me and my art.
Imagine that I have the ...
0
votes
0
answers
23
views
Opencv with nodejs
I'm encountering an issue with opencv4nodejs in my Node.js application. After configuring opencv4nodejs to use a custom OpenCV installation built from source in /usr/local/include/opencv4/opencv2/, I'...
-1
votes
0
answers
18
views
Unable to display OpenCV windows in remote Docker container: "qt.qpa.xcb: could not connect to display" [closed]
I'm trying to run OpenCV in a remote Docker container and display image windows, but I'm encountering issues. Here's my setup:
Host: Remote server (accessed via SSH)
Container OS: Ubuntu 20.04.3 LTS
...
-5
votes
0
answers
27
views
How do i write a python code using opencv for measuring length from video [closed]
I have a deformed wire (dia 2.5 to 5mm) with a pair of holes(dia 0.3 to 0.5mm) on it. I need to find the curved distance between the centers of these two holes. I have the video feed of the wire from ...
0
votes
0
answers
17
views
Unable to Import Opencv while converting .py to .exe executable file even after applying multiple solutions. Missing configuration file: ['config.py']
I have been trying to convert one of my OpenCV projects into an executable file using PyInstaller. The file is working in my command prompt, but whenever I try to run it through the .exe, I get the ...
1
vote
0
answers
36
views
Image stitching with opencv-python
So I've been trying to stitch some images together to create one big panorama but the Stitcher from OpenCV doesn't want to do so.
There's enough overlap on the images so the Stitcher should be able to ...
0
votes
0
answers
30
views
How to detect a rectangular paper in a complex image using openCV
How can the location of the paper rectangle be detected as a rotated in these images using opencv? The big problem is the background which makes it hard to extract only the paper.
I manage to get ...
-7
votes
0
answers
20
views
I wanna learn OpenCV for OMR correction. Any suggestions on where to start? [closed]
title basically
i need help with resources and especially the part of identifying different areas
the problem is i have no idea what to study plz help.
I've tried looking for courses and books ...
0
votes
0
answers
26
views
OpenCV : How to compute 3D points with SfM methods with a known fundamental matrix?
For a university project, we are working on implementing a basic SfM pipeline, using Middlebury's "temple" dataset. This means that, for each image, the projection matrix for that given ...
0
votes
0
answers
23
views
Image Rotation using OpenCV [closed]
I am trying to create a function using OpenCV that overlays an image onto a defined polygon (using 4 points) in another image. How can I handle the rotation of the image so that the overlay looks ...
-2
votes
0
answers
43
views
How do I get OpenCV to work? The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support [closed]
I can't use the OpenCV command like cv2.imshow or cv2.imread to display an image, and it's giving me the error below.
error Traceback (most recent call last)
Cell ...
0
votes
0
answers
29
views
How to find the width of a river in a LandSat-8 image using rasterio, in a given interval? eg:10m, 20m [closed]
I am working on a project where I have to find width of a river in a given interval.
# %% [markdown]
# ### Import required libraries
# %%
import rasterio
from skimage import filters
import matplotlib....
-2
votes
0
answers
31
views
How do I compare a template sketch to an image of a manufactured part? [closed]
I have a template image that is used as the baseline to determine where parts are soldered onto a circuit board. I cannot guarantee the images to be the same size or scale. The baseline image is ...