Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. img = io.imread('./Unknown.jpg')
  2. highthresh = 300
  3. lowthresh = 250
  4. edges = cv2.Canny(img,lowthresh,highthresh)
  5.  
  6. res1 = img[:,:,0] + edges
  7. res2 = img[:,:,1] + edges
  8. res3 = img[:,:,2] + edges
  9.  
  10. res = res1 + res2 + res3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement