refactored video module; use the new-style algorithms now
This commit is contained in:
@@ -58,8 +58,8 @@ CV_INIT_ALGORITHM(SCascade, "CascadeDetector.SCascade",
|
||||
|
||||
bool initModule_softcascade(void)
|
||||
{
|
||||
Ptr<Algorithm> sc = createSCascade();
|
||||
Ptr<Algorithm> sc1 = createDetector();
|
||||
Ptr<Algorithm> sc = createSCascade_hidden();
|
||||
Ptr<Algorithm> sc1 = createDetector_hidden();
|
||||
return (sc1->info() != 0) && (sc->info() != 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user