migration: github.com/opencv/opencv

This commit is contained in:
Alexander Alekhin
2016-06-16 17:39:38 +03:00
parent 688bd28987
commit bb5e25ba7c
76 changed files with 96 additions and 96 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ def deskew(img):
class StatModel(object):
def load(self, fn):
self.model.load(fn) # Known bug: https://github.com/Itseez/opencv/issues/4969
self.model.load(fn) # Known bug: https://github.com/opencv/opencv/issues/4969
def save(self, fn):
self.model.save(fn)
+1 -1
View File
@@ -41,7 +41,7 @@ class gaussian_mix_test(NewOpenCVTests):
em = cv2.EM(cluster_n,cv2.EM_COV_MAT_GENERIC)
em.train(points)
means = em.getMat("means")
covs = em.getMatVector("covs") # Known bug: https://github.com/Itseez/opencv/pull/4232
covs = em.getMatVector("covs") # Known bug: https://github.com/opencv/opencv/pull/4232
found_distrs = zip(means, covs)
matches_count = 0
+2 -2
View File
@@ -21,7 +21,7 @@ class OpenCVTests(unittest.TestCase):
# path to local repository folder containing 'samples' folder
repoPath = None
# github repository url
repoUrl = 'https://raw.github.com/Itseez/opencv/2.4'
repoUrl = 'https://raw.github.com/opencv/opencv/2.4'
# path to local folder containing 'camera_calibration.tar.gz'
dataPath = None
# data url
@@ -126,7 +126,7 @@ class NewOpenCVTests(unittest.TestCase):
repoPath = None
extraTestDataPath = None
# github repository url
repoUrl = 'https://raw.github.com/Itseez/opencv/master'
repoUrl = 'https://raw.github.com/opencv/opencv/master'
def get_sample(self, filename, iscolor = cv2.IMREAD_COLOR):
if not filename in self.image_cache: