def iplimage_to_string(im, lang=None, psm=None):
if not OPENCV_AVAILABLE:
print ("OpenCV not Available")
return -1
else:
cv.SaveImage(TEMP_IMAGE, im)
txt = image_to_string(TEMP_IMAGE, lang, psm)
os.remove(TEMP_IMAGE)
return txt
评论列表
文章目录