1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Fix loading images in python tests

This commit is contained in:
Vladislav Sovrasov
2016-01-28 17:13:58 +03:00
parent ab4d375349
commit 5625d79508
9 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -17,9 +17,9 @@ class houghcircles_test(NewOpenCVTests):
def test_houghcircles(self):
fn = "../../../samples/data/board.jpg"
fn = "samples/data/board.jpg"
src = cv2.imread(fn, 1)
src = self.get_sample(fn, 1)
img = cv2.cvtColor(src, cv2.COLOR_BGR2GRAY)
img = cv2.medianBlur(img, 5)