Can the xml files generated by trainCascadeObjectDetector be used in OpenCV 3.1?
1 次查看(过去 30 天)
显示 更早的评论
I've trained several object detectors in MATLAB using trainCascadeObjectDetector and I would like to know if there is a way to use the xml files generated by that function to detect objects with OpenCV 3.x using c++. Inside of the xml files generated by MATLAB, there is a comment saying that the files are compatible with OpenCV 2.4, but I would like to know if I could use them with newer versions of OpenCV.
0 个评论
回答(1 个)
Sonam Gupta
2017-3-9
The function trainCascadeObjectDetector() in MATLAB is designed before openCV 3.1 is released. As of now the xml files generated by it are compatible only with OpenCV 2.4 and not the newer versions of OpenCV.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!