 This topic has 1 reply, 2 voices, and was last updated 14 years ago by .
Viewing 2 posts  1 through 2 (of 2 total)
Viewing 2 posts  1 through 2 (of 2 total)
 You must be logged in to reply to this topic.

Microcontroller › 8051 › image recongnition using matlab
plz can any one help how to process an images using matlab code
my requirement is
i hav a robotic arm,computer ,camera and 8051 microcontroller board
my arm should seperate spheres and cubes mixture placed in a bowel.
the arm picks up an object takes the pic using camera using matlab.still here i hav comlpeted
now my problem is i don no to find the picked object is sphere r cube
wat is the matlab code for it plx help me…
Vinod
Once you have identified the object.. find its area (A) and perimeter (P) which is fairly easy to calculate.
Compute the ratio : R = P^{2} / A
If R comes out to be around 4*pi (=12.56), then the surface is sphere otherwise its a cube.