Ask Your Question
1

Detect hand-drawing shapes

asked 2013-05-22 08:37:18 -0600

MinhBinh gravatar image

updated 2015-09-05 14:41:04 -0600

Could OpenCV detect the geometric shapes which is drawn by hand as below? The shape can be a rectangle, triangle, circle, curve, arc,polygon,... I am going to develop an android application which detect these shapes. image description

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-05-22 09:55:27 -0600

AMP gravatar image

You can get idea from "squares.cpp" in samples folder of OpenCV.

edit flag offensive delete link more

Comments

Could you please tell me more details? I am a newbie with OpenCV. any sample code are welcome.

MinhBinh gravatar imageMinhBinh ( 2013-05-22 11:05:43 -0600 )edit
1

Squares.cpp is a sample code(inside your OpenCV folder) for detecting squares in c++,you should read it and change it to java.if you want to find another objects you should change few parameters to find triangle, circle,...

AMP gravatar imageAMP ( 2013-05-22 11:25:49 -0600 )edit

Question Tools

Stats

Asked: 2013-05-22 08:37:18 -0600

Seen: 2,151 times

Last updated: May 22 '13