A Beginner's Guide to AI and Testing
  • Welcome AI Testers!
  • TUTORIAL
    • Exercise: Object Detection
    • Exercise: Try Chopper Yourself
    • Exercise: Python Chopper
  • Demo: Build Your Own Chopper
  • Exercise: Build Your Own Agent
  • Demo: AGENT Exploration
  • Demo: AGENT Test Generation
  • SELF STUDY
    • How-to: Teachable Machine
    • How-to: Build Your Own Classifier
    • How-to: AI Using Appium
    • How-to: Template Matching
Powered by GitBook
On this page
  • Google Cloud Vision API
  • Viewing the Results
  • Meta: Segment Anything

Was this helpful?

  1. TUTORIAL

Exercise: Object Detection

In this exercise, we will try out Google's Cloud Vision API to get a feel for how AI can be used for object detection.

PreviousWelcome AI Testers!NextExercise: Try Chopper Yourself

Last updated 1 year ago

Was this helpful?

Google Cloud Vision API

  1. Navigate to .

  2. Scroll down to the Try the API section.

  1. Drag in an image. Here's one you can use:

You'll need to solve a Captcha Challenge that is easy to miss (you may need to scroll down).

Viewing the Results

When viewing the results, you will be able to see Objects, Labels, Text, and Properties. Click on the tabs below to learn more about each of the result types.

You can also see the raw JSON request and response payloads, which are useful when integrating with Google Cloud Vision API.

The below results show us that Google Cloud Vision API was able to find two objects:

  • lighting with 82% confidence

  • couch with 54% confidence

Discussion Topic: How useful do you think this would be for testing purposes?

According to Google Cloud Vision API, the following labels may be applied

Discussion Topic: How useful do you think this would be for testing purposes?

According to Google Cloud Vision API, the following text blocks were detected:

Discussion Topic: How useful do you think this would be for testing purposes?

Google Cloud Vision API also provides a few additional details about the image, such as the dominant colors:

Meta: Segment Anything

Try out Meta's SAM too!

https://segment-anything.com/demo
https://cloud.google.com/vision
Try Cloud Vision API
Sample Application Screen
Suggested Labels Sorted by Confidence
Dominant Colors and Crop Hints
Request/Response Payloads