TransWikia.com

Concept of xml files for haar cascade in object detection with opencv?

Data Science Asked by mohammed bilal on January 26, 2021

I’ve just started ML and since I entered a project on object detection, their haar cascade is used and XML files are loaded via OpenCV for detection. So I would like to understand why XML files are used. Also can I get such files for detection of any other features?

One Answer

XML files are generated when you train the Haar Cascade Classifier. From the OpenCV docs:

Object Detection using Haar feature-based cascade classifiers is an effective object detection method proposed by Paul Viola and Michael Jones in their paper, "Rapid Object Detection using a Boosted Cascade of Simple Features" in 2001. It is a machine learning based approach where a cascade function is trained from a lot of positive and negative images. It is then used to detect objects in other images

More information on Haar cascades can be found here.

Some tutorials for training Haar Cascades are available.

Correct answer by Anoop A Nair on January 26, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP