Using DetectText in rekognition to extract text from images of low quality.

0

I am trying to extract text from an image using DetectText. Which works fine at least to some level. I want to be able to extract text from a small region of the image. which being small naturally makes the text small in character. And given the fact that the quality of the image is quite small. the accuracy is further reduced.

For reference on which regions of the image am talking about. Have a look at the attached image. I have highlighted the regions with blue and orange circles.Enter image description here

gal1l0
已提問 2 年前檢視次數 280 次
1 個回答
0

I'd say your best bet is to focus on upscaling the resolution of the small piece before handing it over to TextTract. Using libraries such as https://www.npmjs.com/package/upscaler should allow you to enhance the image and then https://www.npmjs.com/package/image-brightness should raise the image quality to try give it better accuracy.

AWS
已回答 2 年前
profile pictureAWS
專家
Chris_G
已審閱 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南