mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-28 12:10:54 +08:00
Fix ValueError: Buffer dtype mismatch on win-amd64
This commit is contained in:
@@ -164,7 +164,7 @@ def hough_circle(img, radius, normalize=True):
|
||||
Hough transform accumulator for each radius
|
||||
|
||||
"""
|
||||
return _hough_circle(img, radius, normalize)
|
||||
return _hough_circle(img, radius.astype(np.intp), normalize)
|
||||
|
||||
def hough_peaks(hspace, angles, dists, min_distance=10, min_angle=10,
|
||||
threshold=None, num_peaks=np.inf):
|
||||
|
||||
Reference in New Issue
Block a user