gpt4 book ai didi

opencv - 创建自己的层叠(.xml)文件

转载 作者:行者123 更新时间:2023-12-02 17:28:27 25 4
gpt4 key购买 nike

我已经开始研究使用Python-OpenCV进行对象检测。我想创建自己的层叠文件。有什么软件/技术可以代替我吗?例如,我可以只给出正像和负像,然后再给我一个cascade.xml文件作为要训练的输出。

最佳答案

OpenCV提供以下工具:

https://docs.opencv.org/4.1.1/dc/d88/tutorial_traincascade.html

https://docs.opencv.org/4.1.1/db/d28/tutorial_cascade_classifier.html

Working with a boosted cascade of weak classifiers includes two major stages: the training and the detection stage. The detection stage using either HAAR or LBP based models, is described in the object detection tutorial. This documentation gives an overview of the functionality needed to train your own boosted cascade of weak classifiers. The current guide will walk through all the different stages: collecting training data, preparation of the training data and executing the actual model training.

To support this tutorial, several official OpenCV applications will be used: opencv_createsamples, opencv_annotation, opencv_traincascade and opencv_visualisation.

关于opencv - 创建自己的层叠(.xml)文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57408622/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com