Ask Your Question

bonny's profile - activity

2018-05-14 03:12:30 -0600 received badge  Popular Question (source)
2014-11-03 14:36:30 -0600 received badge  Student (source)
2014-11-03 09:47:43 -0600 asked a question how to average contour from many samples

Hello...

I try to do quality test. I create sample contour and then compare that with contour captured in video stream. But I like to prepare sample from averaging more input images that are known to be good. So how to average similar contours ?

Thanks

2014-11-01 03:56:19 -0600 asked a question matchShapes() orientation flag

Hello...

I want to search if shape is present in image. I do threshold and findContours ans then iterate each contour and try to match with template. The problem is that I got result if shape is present on image no mater of orientation. But I want to recongnize only shapes with same orientation as template. (orientation must be same but position is not)

2014-10-31 12:23:41 -0600 asked a question Flatten image captured from cylinder

Hello...

How to flatten image captured from cylinder. The image is captured from 1cm distance and cylinder has 1cm diameter. I capture image from same spot every time and set ROI to cilynder only.

Actualy I need to precise check image but I can't rotate cylinder on same spot every time.

2014-10-29 05:51:11 -0600 commented answer matchShapes python return error

Thanks... Work now.

2014-10-29 04:07:45 -0600 asked a question matchShapes python return error

Hello... I try to use matchShapes in python but got error.

Traceback (most recent call last):
File "ZobnicekSlika.py", line 72, in <module> print cv2.matchShapes(cifra2, co, cv2.CONTOURS_MATCH_I1, 0.0) AttributeError: 'module' object has no attribute 'CONTOURS_MATCH_I1'

The line on question is: print cv2.matchShapes(cifra2, co, cv2.CONTOURS_MATCH_I1, 0.0)

I use python 2.7 and opencv 3.0 Thanks

2014-10-19 11:19:43 -0600 asked a question How to find small circle/hole in image?

Hello...

I'm new on CV scene. My quiestion is how to find all holes in image. (pcb pads for example). The size is known and I want only correct sized holes.

How to approach to that? (probably using python)

Thanks

pcb.jpg