Replies: 1 comment 2 replies
-
Hi, thank you for your question. You can find a sample for a pipeline that uses doctr instead of Tesseract in the Space demo that unfortunately doesn't not work but for a different reason. You will need to build a pipeline by yourself but you can copy the code from # word detector
det = dd.DoctrTextlineDetector()
# text recognizer
rec = dd.DoctrTextRecognizer()
d_layout_text = dd.ImageLayoutService(det, to_image=True, crop_image=True)
pipe_component_list.append(d_layout_text)
d_text = dd.TextExtractionService(rec, extract_from_roi="WORD")
pipe_component_list.append(d_text) Feel free to ask if there are any further questions. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi thanks for your work
I couldn't find any documentation on how to use doctr instead of tesseract
Beta Was this translation helpful? Give feedback.
All reactions