MCPcopy Create free account
hub / github.com/JimmyHHua/opencv_tutorials / canny_demo

Function canny_demo

python/code_054/opencv_054.py:5–10  ·  view source on GitHub ↗
(image)

Source from the content-addressed store, hash-verified

3
4
5def canny_demo(image):
6 t = 80
7 canny_output = cv.Canny(image, t, t * 2)
8 cv.imshow("canny_output", canny_output)
9 cv.imwrite("canny_output.png", canny_output)
10 return canny_output
11
12
13src = cv.imread("stuff.jpg")

Callers 1

opencv_054.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected