In [4]:
image_Y
=
cv2
.
Sobel
(
image
,
cv2
.
CV_8UC1
,
0
,
1
)
cv2
.
imshow
(
"Sobel image"
,
image_Y
)
cv2
.
waitKey
()
Out[4]:
-1