Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ndleah/python-mini-project
/ canny
Function
canny
Finding_Lanes/lanes.py:43–47 ·
view source on GitHub ↗
(image)
Source
from the content-addressed store, hash-verified
41
42
43
def
canny(image):
44
gray = cv2.cvtColor(image, cv2.COLOR_RGB2GRAY)
45
blur = cv2.GaussianBlur(gray, (5, 5), 0)
46
canny = cv2.Canny(blur, 50, 150)
47
return
canny
48
49
50
def
display_lines(image, lines):
Callers
1
lanes.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected