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,556
questions
-1
votes
1
answer
73
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 ...
0
votes
1
answer
64
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
36
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'...
0
votes
0
answers
37
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
77
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
36
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
1
answer
124
views
How do i modify image in python to fit face_recognition parameters (8bit gray or RGB image)
I'm trying to modify my image so that it fits the supported image type.
I've tried using cv2 and Pillow to modify the dtype however it returns the error "RuntimeError: Unsupported image type, ...
0
votes
0
answers
61
views
Parsing Error with YOLOv3 and OpenCV 4.10.0 when reading yolov3.cfg
I'm encountering a parsing error when attempting to load a YOLOv3 model using OpenCV 4.10.0 in Python. Specifically, the error occurs while trying to read the configuration file yolov3.cfg. Despite ...
0
votes
0
answers
43
views
not authorized to capture video on Mac OS
I had been getting this message since the last few days when i run this code
img = cv2.VideoCapture(0)
while(True):
re, frame = img.read()
print(frame)
cv2.release()
here's the complete ...
0
votes
0
answers
29
views
How do I change camera resolution without zooming in in Python OpenCV [duplicate]
From what I've seen you can alter the resolution of a frame using the following code using OpenCV:
cap = cv2.VideoCapture(0) # Adjust index if necessary
cap.set(cv2.CAP_PROP_FRAME_WIDTH, 640)
cap....
1
vote
2
answers
66
views
Why does cv.matchShapes() detect a big difference between shapes if they are the same?
I have a code that compares two geometric figures. I set the threshold for comparison to 0.1 (you will see it below in the code), and in principle the results are more or less good.
But there are ...
0
votes
0
answers
32
views
OpenCV finger extraction from image / liveview from camera and draw contour around finger
I would like to extract a finger from an androidx.camera.view.PreviewView in Android java.
I am using an ImageAnalysis Object to run a analyze() function on an ExecutorService.
The analyze() has a ...
3
votes
1
answer
100
views
Break the curve wherever there is a significant change in the curve
Wherever there's a significant change in the curve, I need to break the curve with a break thickness of just 1 pixel (I just want to break the curves into multiple parts). I have attached an image for ...
1
vote
1
answer
39
views
Questions about focal_length, rvec, and tvec from camera calibration
I used images of the checkerboard to proceed with the camera calibration.
I am using PoE camera to estimate the distance from an object (actual size is known) to the camera by using focal length.
Here ...
-1
votes
0
answers
44
views
how to use OpenCvSharp record video,10 minute per file
I use OpenCvSharp to record video, 10 minute per file,but the code I wrote must be somewhere wrong, when I see the video,the video takes 12 minutes 29 seconds.here is the code.
using OpenCvSharp;
...