All Questions
Tagged with opencv computer-vision
6,638
questions
-3
votes
0
answers
48
views
How to add horizontal lines to the table in image opencv
I want to add horizontal lines to the below image
resultant output should be like:
Any methods on how to work it out, even if there are diff images which don't have horizontal lines.
I've tried ...
-1
votes
0
answers
37
views
Improve signature quality extracted using OpenCV from scanned sheet paper
I extracted a signature from a scanned sheet of paper. Users know there should be only the signature on a white sheet of paper.
I implemented the signature cropping from the uploaded image using the ...
-2
votes
0
answers
29
views
OpenCV program cannot detect more than one frame [closed]
I wanted to try using opencv for some simple face recognition (not specific faces, just if it sees a human face or not). I was using this model, installed both opencv and opencv-contrib, and it does ...
3
votes
1
answer
59
views
How can I optimize the process to find the best 4-sided shape that contains my mask?
I am currently working on a project where I need to detect pool table and pool balls from a video frame.
I then need to recreate the state of the game in a 2D mini-map, and in order to do so I need ...
0
votes
0
answers
26
views
Generate graph edges based on region boundaries on image
I want to analyze experiment data of particle packing, and specifically calculate things like coordination number. I've managed to autodetect the centroids of each particle using OpenCV thresholding ...
-4
votes
0
answers
57
views
cv2 not acting as in all docs i can find [closed]
Here the code:
import cv2
import numpy
img = cv2.VideoCapture(0)
run = True
while run:
frame = img.read()
cv2.imshow("baka", "hi")
This the error it gave me. I can’t ...
-2
votes
1
answer
66
views
Trouble detecting/removing two watermarks that vary location across image dataset
I have a problem with removing watermarks from a collection of images. The watermarks appear near each other but are different (see below). One watermark is a red square and has white text inside of ...
0
votes
0
answers
49
views
Using fisheye calibration to solve allsky images using OpenCV (fails)
I am using fisheye calibration to solve chessboard images using OpenCV. It fails for the calibration flag cv2.fisheye.CALIB_RECOMPUTE_EXTRINSIC, so I work around it. But once I get the parameters, the ...
0
votes
0
answers
36
views
How can I fix this loop to correcttly track and classify objects?
I have this loop where what I want to do is:
detect the objects nad their bb
track them to assign a unique id to each box
check if an object stops
if an object stops, do the classification on this bb ...
2
votes
0
answers
58
views
Image Stitching opencv
I'm trying to stitch two images together using OpenCV's Stitcher class, but despite getting good matches between the two images, the stitching process fails. I've checked my code and the matches seem ...
0
votes
0
answers
36
views
OpenCV Python: minArea parameter in get_contours function not taking effect [closed]
I am working on a project using OpenCV in Python to process images and detect contours. I have a function get_contours which takes several parameters, including minArea to filter out small contours. ...
0
votes
2
answers
82
views
Identify two figures for similarity [closed]
I am trying to find a reliable way to determine the similarity between geometric shapes (polygons).
In one of my approaches, I tried to use the cvopen library and the findContours() and matchShapes() ...
-1
votes
0
answers
98
views
How do I mark the differences between the two pictures with C++?
I want to compare the two images below, but none of the codes I have tried produce any meaningful output. Here are the pictures :
Orginal
Changed
Desired Result
First, the sizes of the pictures are ...
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 ...