提交 a5209c48 编写于 作者: J Jason Martin

Fixed cascadedetect convert from old cascade to new

上级 c6b60e21
......@@ -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.
先完成此消息的编辑!
想要评论请 注册