Giter Club home page Giter Club logo

captcha_server's Introduction

captcha_server

一个免费开源一键搭建的通用验证码识别平台,大部分常见的中英数验证码识别都没啥问题。

使用方法

为了方便大家使用,已将项目打包成pypi包

可以通过以下命令安装
pip install ddddocr==1.0.4

豆瓣源同步需要一些时间,目前建议通过官方源安装(命令后添加 -i https://pypi.org/simple)

使用方式为

import ddddocr

ocr = ddddocr.DdddOcr()

with open('test.png', 'rb') as f:
img_bytes = f.read()

res = ocr.classification(img_bytes)
print(res)

python >= 3.8 以上环境

pip install -r requirements.txt -i https://pypi.douban.com/simple

Linux系统下可以直接用以下代码部署

gunicorn -c conf.py ocr_server:app

Windows下就老老实实的

python ocr_server.py

知识星球搜索ID: 4198635

赶快来加入我们吧

captcha_server's People

Contributors

sml2h3 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.