mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 09:25:45 +08:00
Merge pull request #17420 from nosajthenitram:fix_cascadedetect_convert_bug_for_old_cascade
This commit is contained in:
commit
e6c9e2fa50
@ -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…
Reference in New Issue
Block a user