I am performing template matching and everything seems to be working fine in cv2.imshow(). I want to write a video with all frames resulting from the template m
My problem is that I need to take a picture from the camera and process it with opencv and Python to get coordinates and send them to a robotic arm, but I can't
Im trying to use cv2.findContours() on opencv version 4.4.0. (Im using Python version 3.8.5) but it throws an error, I cant figure out. Im not sure whats wrong
I am running an Ubuntu virtual machine with, Python 3.6.1, Anaconda 4.4.0 (64-bit). I am trying to run the code on this website. When I try to use import cv2
I have Yolo format bounding box annotations of objects saved in a .txt files. Now I want to load those coordinates and draw it on the image using OpenCV, but I
I'm new to cmake, and I'm only using it to install opencv on my ubuntu linux. Here's the command I ran: cmake -DCMAKE_BUILD_TYPE=Release DCMAKE_INSTALL_PREFIX=/
I am trying to write some easy code in python to produce bounding rectangles around objects in a binary image, where there may be 1 or more objects. This is fa
Google's mediapipe framework is able to work with openCV matrices across different languages, certainly C++ and Python. Since it uses protocol buffers to commun
can someone tell me how to implement a bisection of the image into upper and lower part? so that I could overlap them. for example, I have an image and I should
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