Advertisement
newb_ie

Untitled

Dec 5th, 2021
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. from pythreshold.utils import test_thresholds
  2. from scipy.misc import ascent
  3. import cv2
  4.  
  5. # Testing all the included thresholding algorithms
  6. image = cv2.imread('/home/kira/Downloads/261892454_2023160914514191_1043008417872578478_n.jpg', 0)
  7. test_thresholds(image, '/home/kira/mifta/output/', 'test')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement