Square object detection using webcam
Afficher commentaires plus anciens
Hello experts,
I have this code which works so perfect while detecting square objects from images which are downloaded from internet. However, when I am taking the image of a square object from my webcam and processing, its not turning out to be as expected. I am suspecting, the reason could be due to the green and pink hues which are dominantly captured from webcam. The actual output which is being obtained is that there are squares distributed at random places. What do you all suggest?
Réponses (2)
Image Analyst
le 10 Fév 2013
0 votes
I suggest you upload an image: http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers It's always easier to discuss image image processing advice if you have an image to see, don't you think?
5 commentaires
mona
le 13 Fév 2013
mona
le 13 Fév 2013
Image Analyst
le 13 Fév 2013
I don't see any square objects in that image.
mona
le 13 Fév 2013
Image Analyst
le 13 Fév 2013
Modifié(e) : Image Analyst
le 13 Fév 2013
You can edit your post to correct it. Have you tried imfindcircle()?
mona
le 13 Fév 2013
0 votes
3 commentaires
Image Analyst
le 13 Fév 2013
Modifié(e) : Image Analyst
le 13 Fév 2013
- This should have been a comment, not an answer.
- Your main problem is poor lighting.
- Also, findcircle may not work on ellipses.
- You may also need to adjust some parameters in imfindcircle. I haven't experimented around with it a lot.
mona
le 13 Fév 2013
Image Analyst
le 14 Fév 2013
I don't know why you don't agree with the other 3 points, but whatever...
Catégories
En savoir plus sur Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!