Ask Your Question

Detect hand-drawing shapes

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

MinhBinh gravatar image

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

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

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

AMP gravatar image

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

edit flag offensive delete link more


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 -0500 )edit

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 -0500 )edit
Login/Signup to Answer

Question Tools


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

Seen: 1,446 times

Last updated: May 22 '13