Code Monkey home page Code Monkey logo

saocr's Introduction

集成OCR服务

本项目基于TencentOCR API 和 PaddleOCR 开发,集成了两种API的使用方法,并在Docker中部署,部署过程简单方便。

配置腾讯云密钥

修改目录ocrapi/config.example.py 修改完内容后,将文件名改为config.py

编译Docker镜像

如果你没有安装Docker,请参考官方文档

在本项目根目录,使用以下命令就可以编译镜像

docker build -t saocr .

此命令会自动下载相关依赖,并且在任何环境下都不会报错,不过,可能需要等待一会......

启动Docker容器

使用以下命令

docker run -d -p 8000:8000 saocr

至此,集成OCR服务API部署完成。

saocr's People

Contributors

evibhm 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.