0

I am looking for a way to call Google as few times as possible so I am wondering if there is a way for Google to automatically decide weather to use TEXT_DETECTION or DOCUMENT_TEXT_DETECTION through Python Cloud Vision client?

2 Answers2

1

There's no way for this, since the client uses different methods for each type.

You can fill a feature request regarding this scenario on the following link if you consider this would be helpful to you.

F10
  • 2,843
  • 2
  • 12
  • 18
0

The Cloud Vision API has no way to determine which is the "best" detection method to use -- this is for you to decide.

Dustin Ingram
  • 20,502
  • 7
  • 59
  • 82