Giter Site home page Giter Site logo

ddddocr-docker's Introduction

ddddocr Docker版本

介绍

本项目是ddddocr的Docker版本,旨在通过Docker容器化技术简化部署和使用流程。原项目是一个验证码识别工具,本版本在保持原功能的基础上,增加了Docker支持和Web接口,以满足更灵活的部署需求。

新增功能

Docker 支持

通过Docker,用户可以快速部署和启动本项目,无需手动配置环境。

Web 接口

新增Web接口,用户可以通过HTTP请求直接调用验证码识别服务。

快速开始

使用Docker部署

  1. 构建Docker镜像:

    git clone https://github.com/jianzhis/ddddocr-docker.git
    cd ddddocr-docker
    docker build -t ddddocr .
  2. 运行容器:

    docker run -p 10049:5000 ddddocr

调用Web接口

您可以使用以下curl命令从命令行发送POST请求,附带一个验证码图片:

curl --location --request POST 'http://localhost:10049/ocr_url' \
--header 'Content-Type: application/json' \
--data-raw '{
    "image_url": "https://img.xwyue.com/i/2024/04/26/662b805c43cd7.png"
}'

确保将 http://localhost:10049/ocr_url 替换为您的服务器地址及端口,并且将 "image_url" 的值替换为您的图片的URL。

贡献

欢迎通过GitHub的Pull Request或Issues方式提交代码修正、功能建议等贡献。

许可证

MIT © [Sekey]

致谢

特此感谢原项目ddddocr,本项目在原有基础上进行了增强以更好地服务于社区。

ddddocr-docker's People

Contributors

sml2h3 avatar jianzhis avatar ashawkey avatar

Watchers

 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.