V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
zix
V2EX  ›  Python

百度 OCR API Python

  •  
  •   zix ·
    Linusp · Sep 4, 2015 · 7524 views
    This topic created in 3892 days ago, the information mentioned may be changed or developed.

    简单封装了一下, API 本身还是不复杂的,只是官网上的文档太糟糕了,我这里稍微整理了一下。

    Github 地址: https://github.com/Linusp/baidu_ocr

    下面是其他语言的封装:

    另外六月份写过一篇博客,简单地对比了一下百度 OCR 和开源 OCR 系统 Tesseract 的识别效果,有兴趣不妨看一看: http://linusp.github.io/2015/06/10/baidu_ocr_api_usage.html

    15 replies    2015-09-06 15:19:05 +08:00
    Yinz
        1
    Yinz  
       Sep 4, 2015
    赞,支持一下
    pynix
        2
    pynix  
       Sep 5, 2015
    百度分布式居然输给 tesseract 单机。。。
    zix
        3
    zix  
    OP
       Sep 5, 2015
    @pynix 总体来看还是要百度的结果更好,只是有些小细节没有处理好
    laozhao0
        4
    laozhao0  
       Sep 5, 2015
    感谢封装,我用来识别图片数字,几乎 100%正确。
    ksc010
        5
    ksc010  
       Sep 5, 2015
    这个识别简单的验证码怎么样?
    Fuxiang
        6
    Fuxiang  
       Sep 5, 2015
    好赞
    ivenvd
        7
    ivenvd  
       Sep 6, 2015
    抓……
    racal
        8
    racal  
       Sep 6, 2015 via Android
    等我把 pyann ( https://github.com/racaljk/pyann )撸好了也来试试 ocr
    zix
        9
    zix  
    OP
       Sep 6, 2015
    @racal 咦,看上去不错。不过只撸了 Perceptron 和 MLP ?还打算撸别的么?以及为什么不用 numpy
    zix
        10
    zix  
    OP
       Sep 6, 2015
    @ivenvd (逃
    racal
        11
    racal  
       Sep 6, 2015 via Android
    @zix 所有 ann model 都会撸一遍,我主要想减少依赖项目所以没有用 numpy,不过日后考虑性能可能会用 numpy
    wlwang41
        12
    wlwang41  
       Sep 6, 2015
    zix
        13
    zix  
    OP
       Sep 6, 2015
    @racal 数据集的话可以把 mnist 也加上吧。另外我其实也在撸: https://github.com/Linusp/Artificial-Neural-Networks
    racal
        14
    racal  
       Sep 6, 2015 via Android
    @zix 那正好,有不懂的可以向你请教了 XD
    zix
        15
    zix  
    OP
       Sep 6, 2015
    @racal 有空给你提 PR
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2508 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 12:22 · PVG 20:22 · LAX 05:22 · JFK 08:22
    ♥ Do have faith in what you're doing.