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

Function process

python/code_077/opencv_077.py:11–19  ·  view source on GitHub ↗
(image, opt=1)

Source from the content-addressed store, hash-verified

9
10
11def process(image, opt=1):
12 dst = None
13 if opt == 0:
14 dst = cv.bitwise_not(image)
15 if opt == 1:
16 dst = cv.GaussianBlur(image, (0, 0), 15)
17 if opt == 2:
18 dst = cv.Canny(image, 100, 200)
19 return dst
20
21
22index = 0

Callers 1

opencv_077.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected