Replies: 1 comment 1 reply
-
I install paddleocr following the guide. And use the following code to request for ocr service. import requests def cv2_to_base64(image): 发送HTTP请求data = {'images':[cv2_to_base64(cv2.imread("/PATH/TO/IMAGE"))]} 打印预测结果print(r.json()["results"]) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello:
Does anyone meet the problem of limitation of image?
I use web api to post an image for recognize. I use default web api with Paddleocr. But I got a response as below:
response code: 413
<title>413 Request Entity Too Large</title>response code:
413 Request Entity Too Large
nginx/1.18.0 (Ubuntu)
Actually my picture is about 500K of file size, with 2166x1258 in pix size.
Can anyone help me on this? Thanks,
Beta Was this translation helpful? Give feedback.
All reactions