Reputation: 2898
I am trying to parse text in an image of a restaurant bill. I've been able to set up the ruby AWS SDK which has the Rekognition client using this example. Moreover, locally I have been able to make a call to Rekognition, passing an image locally.
When I make the call with #detect_text
(docs), I get a response and the response has TextDetections
which represent either lines or words in the image. I would like however that response to only contain TextDetections
of type LINE
. Here are my questions:
TextDetections
of type LINE
?DetectText can detect up to 50 words in an image That sounds like a hard limit to me.
Upvotes: 1
Views: 637
Reputation: 21
Yes. You cannot detect more than 50 words in an image. A workaround is to crop the image into multiple images, and run DetectText on each cropped image.
Upvotes: 2