Skip to content

Commit e6c9e2f

Browse files
committed
Merge pull request opencv#17420 from nosajthenitram:fix_cascadedetect_convert_bug_for_old_cascade
2 parents ab2c59b + a5209c4 commit e6c9e2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/objdetect/src/cascadedetect_convert.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ static bool convert(const String& oldcascade, const String& newcascade)
205205
newfs << "cascade" << "{:opencv-cascade-classifier"
206206
<< "stageType" << "BOOST"
207207
<< "featureType" << "HAAR"
208-
<< "height" << cascadesize.width
209-
<< "width" << cascadesize.height
208+
<< "width" << cascadesize.width
209+
<< "height" << cascadesize.height
210210
<< "stageParams" << "{"
211211
<< "maxWeakCount" << (int)maxWeakCount
212212
<< "}"

0 commit comments

Comments
 (0)