Questions tagged [paddleocr]
57 questions
0
votes
0 answers
paddle paddle returns table in chinese, when I explicitly download en weights
I'm testing out paddle OCR for tables.
First I'm downloading all the necessery weights:
# Download the PP-OCRv3 text detection model and unzip it
wget https://paddleocr.bj.bcebos.com/PP-OCRv3/english/en_PP-OCRv3_det_infer.tar && tar xf…

Maifee Ul Asad
- 3,992
- 6
- 38
- 86
0
votes
0 answers
Why is an error reported when the batch_size is set greater than 1 when paddle detection performs inference?
PaddleDetection:deploy/python/infer.py的batch_size设置>1遍报错
error message:
Traceback (most recent call last):
File "/home/zyp/program/pdf_ocr/PaddleDetection-release-2.6/deploy/python/infer.py", line 1097, in
main()
File…
0
votes
0 answers
Paddle Ocr handwritten text and number detection from cheque
I am trying to detect information from check such as pay name and date and other, I want to use paddle OCR
currently I am using bounding box to get specific area image which I feed to paddle OCR and get the result
I have tried
with…

Ragner
- 1
- 1
0
votes
1 answer
Not able to import paddleocr library on Google Colab
I am not able to import paddleocr library on Google Colab after the install of paddlepaddle and paddleocr successfully. It hits the error as shown below:
**from paddleocr import PaddleOCR, draw_ocr**
Error: Can not import paddle core while this…

Liang
- 3
- 1
0
votes
0 answers
Failed to build lanms-neo Polygon3 in windows
I have been trying to install PaddleOcr in my system. When I download the requirements.txt, I get an error 'Failed building wheel for lanms-neo' and 'failed building wheel for Polygon3'.
Building wheels for collected packages: lanms-neo, Polygon3
…
0
votes
0 answers
How to scale up inference prediction with detectron with PaddleOCR using Ray in Python
I am using Ray and trying to perform image classification (using Detectron2) and OCRing (using PaddleOCR). I have 2 APIs for the same.
Tried to autoscale the APIs but my RPS is 1-2 with Image classification & OCR and max 15 RPS with only image…

R.K
- 1,721
- 17
- 22
0
votes
0 answers
How to run paddleocr-gpu after detectron2
I have a detectron2 model for image classification followed by paddleocr.
My detectron runs on GPU while paddleocr on CPU and the complete request takes 2-4s for execution.
when I try to run paddleocr-gpu, i get an error "gpu properties already…

Kiran Roy
- 1
- 1
0
votes
0 answers
Kernel Restarting Issue for Paddle OCR
The kernel for mynotebook.ipynb appears to have died. It will restart automatically.
from paddleocr import PaddleOCR, draw_ocr
ocr = PaddleOCR(use_angle_cls=True, lang='en', use_gpu=False)
result = ocr.ocr(img_path)
I am trying to run paddle ocr…

Ha__sh
- 1
- 1
0
votes
1 answer
How do I use a pre-trained PaddleOCR model within code?
I intend to use PaddleOCR to detect image orientation and plan to use their Text Angle Classification Model. However, I got stuck trying to figure out how to install it and integrate it into my code (I just have a downloaded tar file). How do I use…

vs07
- 195
- 8
0
votes
0 answers
PaddleOCR slim models don't work on Sagemaker
I'm trying to host PaddleOCR model on AWS SageMaker endpoint. I've tried with 2 configurations:
I'm trying 2 different configurations:
Normal (large):
det: en_PP-OCRv3_det
rec: en_PP-OCRv3_rec
cls: ch_ppocr_mobile_v2.0_cls
Slim:
det:…

Alcibiades
- 335
- 5
- 16
0
votes
1 answer
How to save and load PaddleOCR model?
How to save PaddleOCR model? How to load it afterwards from the saved file?
I'd like to have something like this:
import PaddleOCR
model = PaddleOCR(use_angle_cls=True, lang='en')
save_path = '/some/custom/path'
# Save model -…

Alcibiades
- 335
- 5
- 16
0
votes
0 answers
Could not find nmake (Compiling the inference source code of PaddleOCR)
I try to follow the instructions in chapter 1.3.2 https://github.com/PaddlePaddle/PaddleOCR/tree/release/2.6/deploy/cpp_infer#13.
But when I run the cmake command i always get this error.
$ cmake -S . -B Build -DWITH_CONTRIB=OFF -DWITH_MKL=ON …

Kassy
- 1
- 1
0
votes
2 answers
Paddle OCR Issue when passing pdf file for text detection
Hi i am facing issue when passing pdf file to paddleocr
My code is:
!paddleocr --image_dir /content/SER-1678793239.pdf --use_angle_cls true --use_gpu false
Issue i am facing is:
AttributeError: 'Document' object has no attribute…

Asif
- 7
- 5
0
votes
0 answers
Reading 7 segment digits using Paddle OCR
I am trying to read the 7 segment display using Paddle OCR, sometimes it reads correctly otherwise it reads poorly given the image is clear and visible to read
For example:
This image is clear and readable:
but the output of the image using paddle…

Jinen Rathore
- 65
- 1
- 6
0
votes
1 answer
How to load non-default PaddleOCR detection model in a python script?
PaddleOCR seems to support different algorithms/models for text detection, as written in their algorithms overview. However, when trying to load a different model from "DB" (for example "SAST" or "EAST") an error is encountered (I get the following…

Nicoloc
- 11
- 1