class Vision extends Service (View source)

Service definition for Vision (v1).

Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.

For more information about this service, see the API Documentation

Constants

CLOUD_PLATFORM

See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.

.

CLOUD_VISION

Apply machine learning models to understand and label images.

Properties

$files
$images
$locations_operations
$operations
$projects_files
$projects_images
$projects_locations_files
$projects_locations_images
$projects_locations_operations
$projects_locations_productSets
$projects_locations_productSets_products
$projects_locations_products
$projects_locations_products_referenceImages
$projects_operations
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Vision service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Vision service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.