Fixed a build warning in softcascade.
This commit is contained in:
parent
3443fd85cd
commit
1160b04fb4
@ -200,7 +200,7 @@ struct cv::softcascade::SCascade::Fields
|
||||
}
|
||||
|
||||
fns = fns[SC_TREES];
|
||||
if (fn.empty()) return false;
|
||||
if (fn.empty()) return 0;
|
||||
|
||||
// for each stage (~ decision tree with H = 2)
|
||||
FileNodeIterator st = fns.begin(), st_end = fns.end();
|
||||
|
Loading…
x
Reference in New Issue
Block a user