Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- filePathIn = 'E:\test.jpg'
- img = cv2.imread(filePathIn, cv2.IMREAD_COLOR )
- if (img != None) :
- print (img.shape)
- else:
- print ("Can't find file: "+filePathIn)
- if (img != None) :
- ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement