Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloud Vision API in Vertex AI?

 

 

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 Solved
1 2 3,316
1 ACCEPTED 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.

View solution in original post

2 REPLIES 2

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.