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
gefragt vor 2 Jahren287 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren
profile pictureAWS
EXPERTE
Chris_G
überprüft vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen