Hi,
I am a newbie in Google Cloud and i have an elementary conceptual question about the dependency between Cloud Vision API and Vertex AI or the recently launched Vertex Vision AI.
I have an app that makes predictions on images using Google Vision AI API ImageAnnotatorClient()
Is this API going to be part of Vertex AI or Vertex Vision AI?
Or in other words, should I modify the below code to make it part of Vertex AI/Vertex Vision AI?
from google.cloud import vision
def detect_labels_uri(uri):
client = vision.ImageAnnotatorClient()
image = vision.Image()
image.source.image_uri = uri
response = client.label_detection(image=image)
labels = response.label_annotations
return(labels)
Solved! Go to Solution.
Vision API should be affected by Vertex Vision AI and your code should stay as is. Vision API is primarily used to detect vision features like image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content. While Vertex Vision AI is an end to end solution to ingest, analyze and store video and image data. Vertex AI Vision lets users build and deploy applications with a simplified UX.
Vision API should be affected by Vertex Vision AI and your code should stay as is. Vision API is primarily used to detect vision features like image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content. While Vertex Vision AI is an end to end solution to ingest, analyze and store video and image data. Vertex AI Vision lets users build and deploy applications with a simplified UX.
Thank you Ricconoel, this clarifies my doubts.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |