1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-25 21:33:04 +04:00

Backport of setRNGSeed implementation and python test randomness fix

This commit is contained in:
Vitaly Tuzov
2016-03-29 17:59:48 +03:00
parent 12a8f5486d
commit 64f02aa72d
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -42,6 +42,7 @@ class NewOpenCVTests(unittest.TestCase):
return self.image_cache[filename]
def setUp(self):
cv2.setRNGSeed(10)
self.image_cache = {}
def hashimg(self, im):