Image-Process icon indicating copy to clipboard operation
Image-Process copied to clipboard

test_mark_sheet.py运行出错

Open xiawuhen opened this issue 1 year ago • 0 comments

Traceback (most recent call last): File "D:/Image-Process-master/tests/chapter11/test_mark_sheet.py", line 33, in test_get_mark_sheet r = mark_sheet.get_mark_sheet(self.img) File "D:\Image-Process-master\src\chapter11\mark_sheet.py", line 48, in get_mark_sheet dist = euclidean(centroid, point) File "D:\anaconda\envs\jqxx\lib\site-packages\scipy\spatial\distance.py", line 520, in euclidean return minkowski(u, v, p=2, w=w) File "D:\anaconda\envs\jqxx\lib\site-packages\scipy\spatial\distance.py", line 464, in minkowski v = _validate_vector(v) File "D:\anaconda\envs\jqxx\lib\site-packages\scipy\spatial\distance.py", line 302, in _validate_vector raise ValueError("Input vector should be 1-D.") ValueError: Input vector should be 1-D.

xiawuhen avatar May 23 '23 03:05 xiawuhen