I have 2 contours (cont1 and cont2) received from cv2.findContours(). How do I know if they intersect or not? I don't need coordinates, I only need a boolean Tr
I'm trying to use OpenCV2 to read images withing a zipfile with cv2.imread and then resize them and save them but I can't figure out how to read those images wi
I'm trying to stitch 2 images together by using template matching find 3 sets of points which I pass to cv2.getAffineTransform() get a warp matrix which I pass
I'm building a project using qt6 and opencv455. I'm doing this on the new MacBook with a silicon chip (arm64). I can compile the whole project without errors, b
In the following code I would like to assign a values to elements of a Mat variable in a loop. I get the runtime error below. pair<Mat, Mat> meshgrid(vect
Break masks/ ROIs down into smaller sub-ROIs. Set random seeds. Navigate from seed to ROI in direction of highest absolute gradient.any suggestion would help me
I need help with the following problem: Task script: read in the message sensor_msgs/PointCloud2, display Bird Eye View image and save (png or jpg). Desired new
When I tried to make a video by opencv2, I always end up having an empty file. My python version is 2.7.13 and opencv version is 3.2.0. I am using Windows. I tr
I know the principle of triangulation for 3D Point estimation from images. However, how would you solve the following problem, I have images from a Line in 3D s
I know there were already questions like this in the past but all the answers seem not to work anymore since some functions are deprecated so I hope you can hel
For testing I generate a grid image as matrix and again the grid points as point array: This represents a "distorted" camera image along with some feature po
I'm trying to get a script running on my raspberry pi (Ubuntu system). Right now, I was just refreshing myself on the basics of opencv, since it's been a little
I am trying to use OpenCV for Python 3 for the first time. To install, I simply typed "pip3 install opencv-python" into the terminal. When I do this, I see in F
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\dnn\src\darknet\darknet_io.cpp:677: error: (-212:Parsing error) Unknown layer type: in functi
I'm trying to stream FFmpeg with audio. I will show my code below: Import module import subprocess as sp Create variables rtmpUrl = "rtmp://a.rtmp.youtube.com
I am currently studying Pytorch and trying to use the cv2 module. I am using Jupyter notebook and Windows. I have installed opencv like this: !pip install op
When I run the following code the output result is blurred but the image gets darker as I increase the value of sigma. Imports import numpy as np import cv2 i
I want to write a program that monitors and tracks objects in 2 different videos using openCV in python (cv2). I would like to Merge the two videos into 1 vide
I have written a code in python opencv. I am trying to write the processed image back to disk but the image is not getting saved and it is not showing any error
I have attached the image of the code here for better understanding, this would help you figure out what I am actually doingI am working on a project in which I