How to detect different basic shapes and display its geometrical features by capturing an image from webcam?

1 view (last 30 days)
P.S : Processing the images (containing simple geometrical structures like circle, rectangle, ring & triangle) in MATLAB and display its features.
Complete over view of the setup: A frame upon which a web cam will be placed along with lighting source, which will be capturing the objects that are being placed in front of it & this is connected to a laptop through USB. From laptop with the help of MATLAB software I should be able to control the camera & what ever the images are being captured, MATLAB should be able to process it and display its geometrical features.
The final result should be: 1. For circle/ring, it should detect the boundary, display its diameter or radius and also locate its center point. 2. For Rectangle/ square, its edge length and its centroid 3. For Triangle, edge lengths, height and its centroid point.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!