Document Intelligence: support for multiple language at the same time during extraction
- Package Name: azure-ai-documentintelligence
- Package Version: 1.0.0b2
- Operating System: Windows
- Python Version: 3.10.9
Hello all, there are certain prebuilt models that are utilizes an OCR engines to retrieve text from the document. I am currently in the testing phase of my project using the prebuilt invoice model.
I am interested to know:
- If there are/will be multilingual support for those models?
- Does being explicit with the
localeparameter (e.g. specifically tell the model that the document contents are in mandarin) ofDocumentIntelligenceClient.begin_classify_documentimprove OCR performance? - Before performing OCR on the documents submitted, are there any image preprocessing happening behind the scenes? So that OCR performance can be improved?
Thank you.
Thank you for your feedback. Tagging and routing to the team member best able to assist.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @ctstone @vkurpad.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @bojunehsu @vkurpad.
- Yes, many of our models support multiple locales/languages. Please see here for a list of locales supported by prebuilt invoice.
- Being explicit with locale may help in situations where the text is highly confusable and we are absolutely certain that the document only contains content in the specified locale. In the vast majority of cases, specifying locale will not make a difference.
- The OCR model is fairly robust. However, if there are specific image preprocessing in your scenario that would help human better understand the text, the model will likely benefit from those as well.
Hi @galvangoh. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
Hi @galvangoh, since you haven’t asked that we /unresolve the issue, we’ll close this out. If you believe further discussion is needed, please add a comment /unresolve to reopen the issue.