Giter VIP home page Giter VIP logo

java-springboot-paddleocr's Introduction

java-springboot-paddleocr

Table of Contents
  1. About
  2. Getting Started
  3. Result
  4. Contact
  5. Reference

About

本项目利用java加载paddle-ocr的C++编译后的可执行文件exe(准确度与python版paddle-ocr一样),并利用springboot进行web部署访问。

Getting started

paddle-ocr c++编译模型下载,下载后放入resources下

链接:https://pan.baidu.com/s/1Pj2IxSgpdVNeHljAcHiI4Q

提取码:x9m5

项目启动后访问 http://localhost:8080/swagger-ui/ 测试





其中:

1./ocr:返回json结果(包括识别的文字,坐标以及置信度)

2./ocr/image:返回识别后绘制的图片结果

Result

/ocr,返回json结果
[
  {
      "text": "表 1",
      "box": [
        [
          59,
          74
        ],
        [
          121,
          74
        ],
        [
          121,
          106
        ],
        [
          59,
          106
        ]
      ],
      "score": 0.7097494006156921
    },
    {
      "text": "2015年云南白药股份有限公司行业数据比较分析",
      "box": [
        [
          149,
          73
        ],
        [
          886,
          72
        ],
        [
          886,
          101
        ],
        [
          149,
          102
        ]
      ],
      "score": 0.8905224800109863
    },
  ...
]
/ocr/image,返回图片结果





Contact

如有问题,联系我:

1、github:https://github.com/jiangnanboy

2、QQ:2229029156

Reference

https://github.com/PaddlePaddle/PaddleOCR

https://github.com/jiangnanboy/doc_ai

https://github.com/deepjavalibrary/djl

https://github.com/jerrylususu/PaddleOCR-json-java-api

https://github.com/hiroi-sora/PaddleOCR-json

java-springboot-paddleocr's People

Contributors

jiangnanboy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

java-springboot-paddleocr's Issues

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.