Skip to main content

All Questions

Tagged with
0 votes
1 answer
46 views

To select the first closed round of an image while reading it from left to right

Here, I used the character image like this. When I tried to select only the first closed round portion of the input image, while scanning it from left to right using open_cv -, I got the whole outer ...
Ayyoob areacode's user avatar
0 votes
1 answer
79 views

OpenCV code fail to detect overlapping rectangles in an image

I am using OpenCV to detect rectangles in an image based on their color. The code works well for non-overlapping rectangles, but it fails to detect overlapping rectangles. Here's code I am using ...
spd's user avatar
  • 354
0 votes
0 answers
30 views

The contour is reduced in equal proportions

I'm using opencv's findContours() function to get the contour of the image: contour, hierachy = cv2.findContours(canny, cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE) Expectation: How to use Python to reduce ...
user25034489's user avatar
1 vote
0 answers
58 views

Cropping Images in Python/OpenCV so Image Doesn't Include Dead/White/Black Space (Different Size Height/Width)

Background I have been working to stitch together multiple images in a grid (2 by 2 in this case) using SIFT and ANN. When all of the images are the same orientation, translation scale factor, my ...
Hana's user avatar
  • 9
0 votes
0 answers
74 views

Determine corner coordinates and Draw contours in OpenCV

Binary mask: Expected image: I am working on OpenCV-Python and I have an binary image below. Next I have an "expected" image that has the contours on it. In this example image, it has 5 ...
LE Doan Phuoc's user avatar
-2 votes
2 answers
227 views

Detecting a contour in a noisy image

I am trying to detect the contour of the die edge in the picture, but there is an obstacle on the right top of the image. Original picture:https://pan.quark.cn/s/0cdf6fe9784f Whole dataset: https://...
cadd9's user avatar
  • 7
0 votes
0 answers
27 views

OpenCV - Detect triangles within detected rectangle in real-time video

For a project I want to detect the edges of triangular shapes within a detected rectangular object (tray) in real-time on a Raspberry Pi IR camera, for the follow up to a next step. For now I've ...
Ronald's user avatar
  • 1
0 votes
0 answers
45 views

Segmenting all contours or a better approach for these pellets

I am attempting to find the governing equation for the Position(x,y,t) and Orientation θ(x,y,t) of these pellets, which collectively behave as a fluid. To perform flow analysis and find governing ...
LOL Ciskram's user avatar
2 votes
1 answer
193 views

Extract photos from a photo album using Python

I have a physical photo album, for which each page might contain one or more photos glued on it. I took a picture of each individual page, containing multiple photos. Now, I placed all the pictures ...
Mart's user avatar
  • 481
0 votes
0 answers
70 views

Detecting first inner black circle and making a contour: openCV and Python

I want to detect the first inner black circle from the white solid using OpenCV and Python. I have tried thresholding but it is not working properly. imporrt cv2 guass_kernal = 5 eroded_kernal = (3, ...
Muhammad Zeeshan Babar's user avatar
0 votes
0 answers
148 views

How to find contours from a Sobel edge detection image

I am doing this to apply Sobel edge detection to an image # Sobel edge detection grad_x = cv2.Sobel(blurred_image, cv2.CV_64F, 1, 0, ksize=3) grad_y = cv2.Sobel(blurred_image, cv2.CV_64F, 0, 1, ksize=...
RedRum69's user avatar
0 votes
1 answer
188 views

Efficient Equidistant Point Sampling on Closed Contours in OpenCV

For a project, I extracted closed contours from silhouette images (MPEG-7 Core Experiment CE-Shape-1 Test Set) using OpenCV’s findContours with RETR_EXTERNAL and CHAIN_APPROX_NONE. I need an efficient ...
user avatar
-1 votes
1 answer
92 views

Unable to get left and right road edge

I am trying to find the points representing the left and right edge of a road mask(binary image). I have tried using contour detection but it is giving contour of whole image(including upper and lower ...
Pratham's user avatar
  • 11
0 votes
0 answers
39 views

Why does contour detection not working properly in image cropping?

I currently have a database of images, where each of the image are vertically concatenated from 3 small images (they are varying in width and height). See example below: As you can see, 3 images have ...
duyanhhz's user avatar
0 votes
0 answers
40 views

Detecting Irregular Circles with Small Dots Inside in an Image using OpenCV (Android)

Above is my image link" I am working on an image processing task using OpenCV in Android, and I need assistance in detecting irregular circles within a rectangular bar. The input image is in ...
hardik's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
81