Fakeer
Fakeer

Reputation: 1044

How to detect vertically stacked text with vision API

Basic text detection API (e.g. google) does not return anything for the following image. To try Google's vision API, save the image locally and run:

gcloud ml vision detect-text <local-path-to-image> | grep description

It may return gibberish. The text we want is RAW9405. Are there any existing models for this or does it require training?

enter image description here

Upvotes: 0

Views: 156

Answers (1)

Sudhanshu
Sudhanshu

Reputation: 732

What you can do is use craft-text-detector which is available opensource, you will get the bounding box coordinates for every single word and based on y-axis you can form a sentence than use tesseract for recognition.

Upvotes: 0

Related Questions