Closed DavidLafond closed 3 years ago
Hello @DavidLafond ,
Thank you for letting us know of this issue. I raised it to the service team. Their reply was that the OCR API (that is, the recognize_printed_text/recognize_printed_text_in_stream methods) is being deprecated in favor of the Read API (read/read_in_stream). The documentation is in the process of being updated to reflect this (that is, "OCR" will point to the Read API).
I'm not sure what is happening with the functionality to correct image orientation in the deprecated methods, so I asked about that. I will let you know what I hear.
Hello @DavidLafond ,
I heard again from the service team - it looks like changing the image orientation will not be in the Read API. I will now close this issue, but please feel free to reopen it if I can answer any other questions. Thank you! fsharpn00b
Awesome! One last question that is not clear about the read API if you can help me. I have read that the maximum file size is 10,240 x 10,240 Maximum file size of 100MB Maximum of 10megapixels
Can you officially confirm those numbers please, they may be old information and I really need to have the right values :) Thanks
Hello @DavidLafond,
I sincerely apologize for not replying to this sooner as I was not aware of your reply. I have passed your question on to the service team.
According to this page: https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/overview-ocr the maximum values are file size 50 MB (6 MB for the free tier) and dimensions at least 50 x 50 pixels and at most 10000 x 10000 pixels.
I will let you know what I hear from the service team and I will update that page if needed. If you get a chance, can you tell me where you read about the values you mentioned? If those are from one of our doc pages, it might need updating as well.
Thank you! fsharpn00b
Reopening until new question is answered.
Hello @DavidLafond ,
I apologize for the slow reply. I just heard from the service team and they confirm the image requirements provided on https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/overview-ocr#input-requirements are correct: · Supported file formats: JPEG, PNG, BMP, PDF, and TIFF · For PDF and TIFF files, up to 2000 pages (only first two pages for the free tier) are processed. · The file size must be less than 50 MB (6 MB for the free tier) and dimensions at least 50 x 50 pixels and at most 10000 x 10000 pixels.
I will close this issue again for now but please feel to reopen if you have other questions. Thank you!
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful