Merge pull request #17420 from nosajthenitram:fix_cascadedetect_convert_bug_for_old_cascade

pull/17424/head
Alexander Alekhin 5 years ago
commit e6c9e2fa50
  1. 4
      modules/objdetect/src/cascadedetect_convert.cpp

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

Loading…
Cancel
Save