简体   繁体   English

XML文件中Haar级联正面检测的特征向量大小是多少?

[英]What is the Feature vector size of Haar cascade frontal face detection in XML file?

What is the Feature vector size of Haar cascade frontal face detection in XML file? XML文件中Haar级联正面检测的特征向量大小是多少? I want to know the size of Feature vector of the generated XML File in OpenCV. 我想知道OpenCV中生成的XML文件的特征向量的大小。
Is there any way to find the size of feature vector in all the available haar cascade XML files in OpenCV? 在OpenCV中所有可用的haar级联XML文件中,是否可以找到特征向量的大小?

If you open the generated XML file with a text editor, you can see the number of features used for each stage of the cascade with the tag: 如果使用文本编辑器打开生成的XML文件,则可以使用标记查看级联每个阶段使用的功能数量:

<maxWeakCount>

You can also get the information about each unique features used by looking at the tag (at the end of the file): 您还可以通过查看标签(位于文件末尾)来获得有关所使用的每个独特功能的信息:

<features>

For example with the file haarcascade_frontalface_alt2.xml , with a rapid word count I get the number of 2094 unique features used in the cascade of classifiers. 例如,使用文件haarcascade_frontalface_alt2.xml ,具有快速的字数统计功能,我得到了用于分类器级联的2094个独特功能的数量。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM