Hello, I am using Google Cloud Vision for text recognition, but the processing speed is quite slow (5 to 15 seconds). I would like to know how does Google lens work so fast and if there's any way to make Google Vision as fast.
Edit: My photos that go through Vision are stored in Firebase Storage. (As I've read in some posts this is the quickest way to process them).
Thanks in advance!
=> For uploading images to Google Cloud Vision you can use one of the following options:
1) Directly upload the image as binary (is the slowest)
2) Upload the image as base64 encoded (is ~25% faster)
3) Use a pre-uploaded image stored on Google Cloud Storage [1] (is the fastest)
- Please refer to the documentation [2] for best practices for Cloud Vision API
- Also, the response time of Vision API depends on the resource status or network latency. (network IO, file transfer to Vision API, etc).
Google Cloud Vision API work? Google image recognition API will identify images from pre-trained models on large datasets of images and then it classifies the images into thousands of categories to detect the objects, places, people and faces in the images.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |