Qt 5 and OpenCV 4 Computer Vision Projects by Zhuo Qingliang
Author:Zhuo Qingliang
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2019-06-19T12:55:38+00:00
In our code, when we created the cascade classifier, we used the haarcascade_frontalface_default.xml file. But you may notice that when we list the data directory of the OpenCV installation, there is more than one file whose name indicates it is for front face detection, such as haarcascade_frontalface_alt.xml, haarcascade_frontalface_alt2.xml, or haarcascade_frontalface_alt_tree.xml. Why do we choose haarcascade_frontalface.xml but not others? This pretrained model data is trained on different datasets or with a different configuration. The details are documented in these XML files as comments at the beginning of each file, so you can refer to the document there if you want. Another straightforward way to choose the model file is to try all of them, test them on your dataset, calculate the precision and the recall rate, and then choose the best one for your case.
Except for the Haar cascade classifier, there is also another cascade classifier named the local binary pattern (LBP) cascade classifier, which is shipped with the OpenCV release by default. You can find its trained model data under the lbpcascades directory in the data path of the OpenCV installation. The LBP cascade classifier is faster then Haar, but also has less precision. We can compare them with the following table:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Computer Vision & Pattern Recognition | Expert Systems |
Intelligence & Semantics | Machine Theory |
Natural Language Processing | Neural Networks |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7845)
Hadoop in Practice by Alex Holmes(5656)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5509)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(4492)
Functional Programming in JavaScript by Mantyla Dan(3719)
The Age of Surveillance Capitalism by Shoshana Zuboff(3411)
Big Data Analysis with Python by Ivan Marin(2964)
Blockchain Basics by Daniel Drescher(2884)
The Rosie Effect by Graeme Simsion(2704)
WordPress Plugin Development Cookbook by Yannick Lefebvre(2578)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2491)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2474)
Dawn of the New Everything by Jaron Lanier(2433)
The Art Of Deception by Kevin Mitnick(2292)
Test-Driven Development with Java by Alan Mellor(2291)
Rapid Viz: A New Method for the Rapid Visualization of Ideas by Kurt Hanks & Larry Belliston(2189)
Human Dynamics Research in Smart and Connected Communities by Shih-Lung Shaw & Daniel Sui(2174)
Once Upon an Algorithm by Martin Erwig(2141)
Data Augmentation with Python by Duc Haba(2135)