ocr.py 文件源码

python
阅读 33 收藏 0 点赞 0 评论 0

项目:bib-tagger 作者: KateRita 项目源码 文件源码
def getOcr(filename):
    #,config='-psm 10') option for single digit recognition
    #return image_to_string(Image.open(filename),config="-psm 6") #5
    #return image_to_string(Image.open(filename)) #3
    #return image_to_string(Image.open(filename),config="-psm 7") #5
    return image_to_string(Image.open(filename),config="-psm 8 digits") #4
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号