Fix loading images in python tests
This commit is contained in:
@@ -61,7 +61,7 @@ class squares_test(NewOpenCVTests):
|
||||
|
||||
def test_squares(self):
|
||||
|
||||
img = cv2.imread('../../../samples/data/pic1.png')
|
||||
img = self.get_sample('samples/data/pic1.png')
|
||||
squares = find_squares(img)
|
||||
|
||||
testSquares = [
|
||||
|
Reference in New Issue
Block a user