bindings: add debug helpers for args conversions

This commit is contained in:
Alexander Alekhin
2018-07-24 18:31:40 +00:00
parent 87ed12b8f3
commit 95dd4b3f27
4 changed files with 210 additions and 1 deletions
+3 -1
View File
@@ -26,7 +26,9 @@ class NewOpenCVTests(unittest.TestCase):
# github repository url
repoUrl = 'https://raw.github.com/opencv/opencv/master'
def get_sample(self, filename, iscolor = cv.IMREAD_COLOR):
def get_sample(self, filename, iscolor = None):
if iscolor is None:
iscolor = cv.IMREAD_COLOR
if not filename in self.image_cache:
filedata = None
if NewOpenCVTests.repoPath is not None: