improve cn (#598)
This commit is contained in:
parent
de6b1267e6
commit
fc35888757
|
|
@ -6,7 +6,7 @@ def centered_canny(x: np.ndarray):
|
|||
assert isinstance(x, np.ndarray)
|
||||
assert x.ndim == 2 and x.dtype == np.uint8
|
||||
|
||||
y = cv2.Canny(x, 100, 200)
|
||||
y = cv2.Canny(x, 64, 128)
|
||||
y = y.astype(np.float32) / 255.0
|
||||
return y
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
version = '2.1.26'
|
||||
version = '2.1.27'
|
||||
|
|
|
|||
Loading…
Reference in New Issue