Fixed cascadedetect convert from old cascade to new

pull/17420/head
Jason Martin 5 years ago
parent c6b60e219d
commit a5209c4882
  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