# springboot-paddleocr-demo **Repository Path**: osroot/springboot-paddleocr-demo ## Basic Information - **Project Name**: springboot-paddleocr-demo - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-19 - **Last Updated**: 2025-03-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

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