How to extract head region of a motocyclist wearing helmet from an image for further computation

2 views (last 30 days)
I want to extract the head region from an image containing a motorcyclist to check whether he is wearing a helmet or not. Example of this type of image is
  3 Comments
Rahul Sharma
Rahul Sharma on 10 Jun 2015
The helmet can be of any color but the quarter angle view is preserved in all the set of images.I am pretty new to matlab and your help will be highly appreciated.

Sign in to comment.

Answers (1)

Dima Lisin
Dima Lisin on 12 Jun 2015
Try vision.CascadeObjectDetector in the Computer Vision System Toolbox. If detecting the face does not work well because of the helmet, you can also try detecting the eyes and/or the nose. Some combination of these detectors may do the job. To increase sensitivity, you can try decreasing the 'ScaleFactor' parameter.
Alternatively, you can try to detect the faces using the color of the pixels.
  2 Comments
Rahul Sharma
Rahul Sharma on 13 Jun 2015
Hi dima thanks for answering my question, but here i want to detect the presence of the helmet itself in an image can you please suggest how to do that.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!