Comments (3)
去源码里面进行修改在54行没有导入predict_system导致,可以将第54行改为如下部分,然后再报错的第576行将改成class PaddleOCR(TextSystem)即可。
from ppstructure.predict_system import StructureSystem, save_structure_res, to_excel,TextSystem
ref: https://blog.csdn.net/wang602125218/article/details/137175714
from paddleocr.
感谢讨论,使用文档分析功能,也可以使用这个脚本ppstructure/predict_system.py哦
from paddleocr.
去源码里面进行修改在54行没有导入predict_system导致,可以将第54行改为如下部分,然后再报错的第576行将改成class PaddleOCR(TextSystem)即可。
from ppstructure.predict_system import StructureSystem, save_structure_res, to_excel,TextSystem
ref: https://blog.csdn.net/wang602125218/article/details/137175714
在docker build如何去修改?
from paddleocr.
Related Issues (20)
- `AttributeError: 'bool' object has no attribute 'sum'` when `use_gpu: False` HOT 1
- 有没有vgg16文字检测模型的paddle推理模型下载地址? HOT 1
- How to Merge text boxes on adjacent lines ? HOT 1
- TritonModelException: inference request batch-size must be <= 128 for 'cls_pp' HOT 2
- 怎么训练完,效果还不如默认的模型,😓,大佬方便看下有什么问题吗? HOT 3
- Integration to ocrmypdf HOT 2
- PaddleOCR throwing fscanf failed HOT 1
- 量化的飞浆模型部署正常,但是转化为onnx模型出现问题(非量化的模型转为onnx可以正常部署) HOT 2
- PaddleOCR use with COG HOT 2
- ppocrlabel标注 新的需求:如何将文本显示在坐标框起始点位置,这样方便一目了然,对比起来更方便。 HOT 3
- 想更改table_structure_dict_ch.txt的映射数量,除了这个txt文件夹,还需要对哪些文件进行修改 HOT 5
- 有必要在paddleocr前使用opencv对文件做透视变换或者二值化之类的预处理吗 HOT 1
- v2.7.0.3以后部分图片识别有问题 HOT 7
- 表格识别算法-SLANet-LCNetV2有没有预训练权重 HOT 4
- Recommended Train input image size HOT 3
- 报告在 CPU 机器上使用 PaddleOCR CPU包, 2小时后遇到内存泄漏问题 HOT 30
- How to push paddleOCR to Replicate HOT 3
- 使用ch_PP-OCRv4_rec_distill.yml 训练时SimpleDataSet 重复报错 KeyError: 'valid_ratio' HOT 2
- IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed HOT 3
- ser推理模型推理图片时,使用cpu推理,半精度推理,报错 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddleocr.