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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user