Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- img = io.imread('./Unknown.jpg')
- highthresh = 300
- lowthresh = 250
- edges = cv2.Canny(img,lowthresh,highthresh)
- res1 = img[:,:,0] + edges
- res2 = img[:,:,1] + edges
- res3 = img[:,:,2] + edges
- res = res1 + res2 + res3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement