Square object detection using webcam

조회 수: 3 (최근 30일)
mona
mona 2013년 2월 10일
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?

답변 (2개)

Image Analyst
Image Analyst 2013년 2월 10일
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
mona
mona 2013년 2월 13일
I am sorry, I meant circular and not square. I am really sorry for this mistake.
Image Analyst
Image Analyst 2013년 2월 13일
편집: Image Analyst 2013년 2월 13일
You can edit your post to correct it. Have you tried imfindcircle()?

댓글을 달려면 로그인하십시오.


mona
mona 2013년 2월 13일
Yes, yes I did. I could send you the code through private message if you agree on thta.
  댓글 수: 3
mona
mona 2013년 2월 13일
I have actually tried everything with the code along with the parameters of imfindcircle and I am completely confident that everything is perfect. However, I would only agree with one of your point which is poor lighting.
Image Analyst
Image Analyst 2013년 2월 14일
I don't know why you don't agree with the other 3 points, but whatever...

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by