提交 e6c9e2fa 编写于 作者: A Alexander Alekhin

Merge pull request #17420 from nosajthenitram:fix_cascadedetect_convert_bug_for_old_cascade

......@@ -205,8 +205,8 @@ static bool convert(const String& oldcascade, const String& newcascade)
newfs << "cascade" << "{:opencv-cascade-classifier"
<< "stageType" << "BOOST"
<< "featureType" << "HAAR"
<< "height" << cascadesize.width
<< "width" << cascadesize.height
<< "width" << cascadesize.width
<< "height" << cascadesize.height
<< "stageParams" << "{"
<< "maxWeakCount" << (int)maxWeakCount
<< "}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册