Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to use OpenCV to find if a person is wearing a hat or glasses?

I would like to use Computer Vision to do the following:

A picture is taken as input from the user. The program checks if the person in the picture is wearing a hat or glasses and decides validity or invalidity, and goes forward to correct the dimensions if the picture is valid.

What would be the best/easiest way to get this done?

I've been looking at cascade classifier training, would that be appropriate?