GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-docs-samples/datalabeling/beta/cloud-client at master · MohammedAmine/java-docs-samples

Expand file tree

/

cloud-client

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

cloud-client

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src
src
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

DataLabeling API Java examples

These samples demonstrate the use of the [DataLabeling API][https://cloud.google.com/datalabeling/].

These samples show how to perform the following actions:

  • create / import a dataset and annotation spec sheet.
  • create instructions for the labelers.
  • start a labeling task for audio, images, text and video.
  • export an annotated dataset.

Prerequisites

This sample requires you to have java setup.

Setup

  • Create a project with the Google Cloud Console, and enable the DataLabeling API.

  • Set up authentication. For example, from the Cloud Console, create a service account, download its json credentials file, then set the appropriate environment variable:

    export GOOGLE_CLOUD_PROJECT=PROJECT_ID
    export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your-project-credentials.json

Run the Tests

To verify the API's are enabled, run the unit tests via

mvn clean verify
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.