Michael Bedford
Michael Bedford

Reputation: 1814

Load Firebase Vision OCR with white list dictionary of words to recognize

I am using Google Firebase Vision API for Text Recognition (OCR). My use case is to do OCR on a persons name in a document or at the head of a document. Furthermore, I have a database or list of names that I expect to be scanning. I know that other OCR engines support loading the engine with a list or dictionary of words which helps improve recognition. I can't seem to figure out how to do this with Firebase Vision Text Recognition. If I have a list or array of names, can I load those in the engine as the only strings/words to recognize?

Thanks!

Upvotes: 0

Views: 258

Answers (1)

Shiyu
Shiyu

Reputation: 935

ML Kit does not support custom text dictionary for now. But I could raise this in our internal discussion.

One alternative solution for now is to filter the detected text with your dictionary, so that non-interested texts are ignored.

Upvotes: 1

Related Questions