ComputerVisionManager Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.ComputerVisionManager

public class ComputerVisionManager

Entry point to Azure Cognitive Services Computer Vision manager.

Method Summary

Modifier and Type Method and Description
ComputerVisionClient authenticate(RestClient restClient)

Initializes an instance of Computer Vision API client.

ComputerVisionClient authenticate(ServiceClientCredentials credentials, String endpoint)

Initializes an instance of Computer Vision API client.

ComputerVisionClient authenticate(String subscriptionKey)

Initializes an instance of Computer Vision API client.

ComputerVisionClient authenticate(String baseUrl, final String subscriptionKey)

Initializes an instance of Computer Vision API client.

ComputerVisionClient authenticate(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of Computer Vision API client.

Method Details

authenticate

public static ComputerVisionClient authenticate(RestClient restClient)

Initializes an instance of Computer Vision API client.

Parameters:

restClient - the REST client to connect to Azure.

Returns:

the Computer Vision API client

authenticate

public static ComputerVisionClient authenticate(ServiceClientCredentials credentials, String endpoint)

Initializes an instance of Computer Vision API client.

Parameters:

credentials - the management credentials for Azure
endpoint - Supported Cognitive Services endpoints.

Returns:

the Computer Vision API client

authenticate

public static ComputerVisionClient authenticate(String subscriptionKey)

Initializes an instance of Computer Vision API client.

Parameters:

subscriptionKey - the Computer Vision API key

Returns:

the Computer Vision API client

authenticate

public static ComputerVisionClient authenticate(String baseUrl, final String subscriptionKey)

Initializes an instance of Computer Vision API client.

Parameters:

baseUrl - the base URL of the service
subscriptionKey - the Computer Vision API key

Returns:

the Computer Vision API client

authenticate

public static ComputerVisionClient authenticate(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of Computer Vision API client.

Parameters:

baseUrl - the base URL of the service
credentials - the management credentials for Azure

Returns:

the Computer Vision API client

Applies to