Fixed cascadedetect convert from old cascade to new

This commit is contained in:
Jason Martin 2020-05-28 21:29:10 -05:00
parent c6b60e219d
commit a5209c4882

View File

@ -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
<< "}"