Replies: 1 comment
-
|
Hello, you can refer to the PP-OCRv5 documentation to use PaddleOCR for recognizing medical prescriptions. Here is the link to the documentation: https://www.paddleocr.ai/latest/en/version3.x/pipeline_usage/OCR.html. Below is a sample code provided in the documentation: from paddleocr import PaddleOCR
ocr = PaddleOCR(
use_doc_orientation_classify=False, # Disables document orientation classification model via this parameter
use_doc_unwarping=False, # Disables text image rectification model via this parameter
use_textline_orientation=False, # Disables text line orientation classification model via this parameter
)
result = ocr.predict("./general_ocr_002.png")
for res in result:
res.print()
res.save_to_img("output")
res.save_to_json("output") |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hey everyone!!!, I want to ask I have set of handwritten medical prescriptions which I am trying to extract from the paddleOCR, Can someone help me how can extract the handwritten prescription with paddleOCR ,is it a good approach to go with this?, Since Doctor Handwriting is messy and if they are to be extracted then what is the way tofinetune the OCR for my handwritten medical prescription.
Although I have checked for the opensource TrOCR too for handwritten prescription too. Please see and help me out.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions