def readimage():
image = cv2.imread('test.jpg', cv2.IMREAD_GRAYSCALE) # reading image
if image is None:
print 'Can not find the image!'
exit(-1)
return image
#-------------------------------------------------------------------------------------
评论列表
文章目录