How to extract head region of a motocyclist wearing helmet from an image for further computation
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Dima Lisin
2015-6-12
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 个评论
Dima Lisin
2015-6-13
If you detect the face, try Emma thing the bounding box and looking at the color distribution.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!