Ask Your Question
0

How to extract contours bigger than some size?

asked 2015-03-13 09:50:22 -0600

RR14 gravatar image

Hi,

I am trying to extract characters from the image.

image description

this is my original image.

after some preprocessing I found contours like that;

image description

how can I extract those contours from this image ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-03-13 10:32:43 -0600

You can compute the size of a contour e.g. with cv::moments

http://docs.opencv.org/doc/tutorials/... or http://docs.opencv.org/modules/imgpro...

edit flag offensive delete link more

Comments

Filtering them by their lengths sound good

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-03-13 10:44:35 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-13 09:50:22 -0600

Seen: 4,844 times

Last updated: Mar 13 '15