- java.lang.Object
- com.microsoft.azure.cognitiveservices.vision.customvision.prediction.CustomVisionPredictionManager
public class CustomVisionPredictionManager extends Object
Entry point to Azure Cognitive Services Custom Vision Prediction manager.
Constructor Summary
Constructor Detail
Method Detail
authenticate
public static CustomVisionPredictionClient authenticate(String apiKey)
Initializes an instance of Custom Vision Prediction API client.
Parameters:apiKey
- the Custom Vision Prediction API key Returns: the Computer Vision API client
authenticate
public static CustomVisionPredictionClient authenticate(String baseUrl, String apiKey)
Initializes an instance of Custom Vision Prediction API client.
Parameters:baseUrl
- the base URL of the serviceapiKey
- the Custom Vision Prediction API key Returns: the Custom Vision Prediction API client
authenticate
public static CustomVisionPredictionClient authenticate(com.microsoft.rest.credentials.ServiceClientCredentials credentials, String apiKey)
Initializes an instance of Custom Vision Prediction API client.
Parameters:credentials
- the management credentials for AzureapiKey
- the Custom Vision Prediction API key Returns: the Computer Vision API client
authenticate
public static CustomVisionPredictionClient authenticate(String baseUrl, com.microsoft.rest.credentials.ServiceClientCredentials credentials, String apiKey)
Initializes an instance of Custom Vision Prediction API client.
Parameters:baseUrl
- the base URL of the servicecredentials
- the management credentials for AzureapiKey
- the Custom Vision Prediction API key Returns: the Custom Vision Prediction API client
authenticate
public static CustomVisionPredictionClient authenticate(com.microsoft.rest.RestClient restClient, String apiKey)
Initializes an instance of Custom Vision Prediction API client.
Parameters:restClient
- the REST client to connect to Azure.apiKey
- the Custom Vision Prediction API key Returns: the Custom Vision Prediction API client
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnploopGrrnCt2a6pnmWTpLSvtdOirZ6rlafDqq%2FErGScraOpvK7CyKygqKZdpb%2BmsMicq6KnnmR%2Bb32NaWSpqpWrtqbDjWxmnKedZLqqr9GoqqiepGSuu8HRnmacp5ejtrW11Z6qnqqmnrCmv46voKyhn6N8pMHSraamrpmotrC6jqmpnpyZmMGqu81oeq6rpKS6l7XSoqaniKKasaqv06Kmp4WRo66osdFnn62lnA%3D%3D