Git Product home page Git Product logo

webocr's Introduction

WebOCR

web在线OCR(图片文字识别)

效果

features

  • 在线展示结果
  • 选择文件上传图片
  • 粘贴板直接上传图片

配置

# 上传路径和静态文件配置路径,一般不需要改变
upload_path = os.path.join(os.path.dirname(__file__), "img")
static_path = os.path.join(os.path.dirname(__file__), "static")

# 百度OCR KEY配置,可免费申请
APP_ID = 'XXXXXXXXXX'
API_KEY = 'XXXXXXXXXX'
SECRET_KEY = 'XXXXXXXXXXXXXX'


IP = '127.0.0.1'
if(platform.system() == 'Linux'):
    IP = '0.0.0.0'
# 开放的端口,若修改,则需要修改Docker中的相关配置
PORT = 8080

使用

下载源码

git clone https://github.com/Sixzeroo/WebOCR

使用Docker容器部署(安装好Docker和Docker-compose)

docker-compose up -d

演示地址

http://server.liuin.cn:8080/1

参考

webocr's People

Contributors

sixzeroo avatar

Watchers

James Cloos 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.