mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
python(test): enable pylint checks for tests
This commit is contained in:
@@ -7,8 +7,8 @@ class shape_test(NewOpenCVTests):
|
||||
|
||||
def test_computeDistance(self):
|
||||
|
||||
a = self.get_sample('samples/data/shape_sample/1.png', cv2.IMREAD_GRAYSCALE);
|
||||
b = self.get_sample('samples/data/shape_sample/2.png', cv2.IMREAD_GRAYSCALE);
|
||||
a = self.get_sample('samples/data/shape_sample/1.png', cv2.IMREAD_GRAYSCALE)
|
||||
b = self.get_sample('samples/data/shape_sample/2.png', cv2.IMREAD_GRAYSCALE)
|
||||
|
||||
_, ca, _ = cv2.findContours(a, cv2.RETR_CCOMP, cv2.CHAIN_APPROX_TC89_KCOS)
|
||||
_, cb, _ = cv2.findContours(b, cv2.RETR_CCOMP, cv2.CHAIN_APPROX_TC89_KCOS)
|
||||
|
||||
Reference in New Issue
Block a user