Skip to content

Commit a5209c4

Browse files
Fixed cascadedetect convert from old cascade to new
1 parent c6b60e2 commit a5209c4

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)