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?

PS http://i49.tinypic.com/2lw8xw0_th.jpg here, only one circle should be there around the white circular object thats being held.

It's very difficult to suggest anything useful due to the incredibly vague nature of the question and lack of code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.