Reading digital meter texts #1520
Unanswered
Trainee2024
asked this question in
Q&A
Replies: 4 comments 7 replies
-
Here, I m attaching other image for your reference, I want to create script which reads from the green box. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello , I am new to OCR and using docTR for reading text from digital meter image . I am not getting proper output , I also get warning like this "Fontconfig error: Cannot load default config file" Any help would be appreciated . Thank you
I am attaching the image i am using . I am using this code :
from doctr.models import ocr_predictor
from doctr.io import DocumentFile
model = ocr_predictor(det_arch='db_mobilenet_v3_large', reco_arch='crnn_vgg16_bn', pretrained=True)
single_img_doc = DocumentFile.from_images("Cropped.png")
result = model(single_img_doc)
text_output = result.render()
print(text_output)
========= Output =======
GJ1474
No.
Serial
1
10
23:55:54
2024
Jan
ter
Unit Regist
VArh
1411107
Beta Was this translation helpful? Give feedback.
All reactions