mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
568 B
22 lines
568 B
#!/usr/bin/env python |
|
from __future__ import print_function |
|
|
|
import numpy as np |
|
import cv2 as cv |
|
|
|
from tests_common import NewOpenCVTests |
|
|
|
class Bindings(NewOpenCVTests): |
|
|
|
def test_inheritance(self): |
|
bm = cv.StereoBM_create() |
|
bm.getPreFilterCap() # from StereoBM |
|
bm.getBlockSize() # from SteroMatcher |
|
|
|
boost = cv.ml.Boost_create() |
|
boost.getBoostType() # from ml::Boost |
|
boost.getMaxDepth() # from ml::DTrees |
|
boost.isClassifier() # from ml::StatModel |
|
|
|
if __name__ == '__main__': |
|
NewOpenCVTests.bootstrap()
|
|
|