Object detection and classification

asked 2014-03-08 03:43:32 -0500

updated 2014-03-08 04:53:49 -0500

Will Stewart gravatar image


I'm a beginner and i have to develop a programme which can detect two objects a circle and a square. I need to reconize the color and the form these objects. Forms : circle an a square Color : red or yellow

Please can you to help on how i can proceed. I work on a raspberry pi projet which will detect object using pi camera.


edit retag flag offensive close merge delete


The more you know about what you are looking for the easier it is to find. Will the camera be calibrated so that the circle is likely to be able to be detected by hough circle? Is the square likely to always be upright?

GrumbleLion gravatar imageGrumbleLion ( 2014-03-08 18:31:33 -0500 )edit

Take a look at the OpenCV tutorials that have to do with object and/or feature detection and you will find examples.

Will Stewart gravatar imageWill Stewart ( 2014-03-09 17:26:49 -0500 )edit

Thanks i have found many samples and it's work fine. But i want something which can open pi camera and take the pictures.

feugana1 gravatar imagefeugana1 ( 2014-03-20 12:06:39 -0500 )edit

See The HighGui examples of how to open a camera.

GrumbleLion gravatar imageGrumbleLion ( 2014-03-21 20:17:19 -0500 )edit