public class VisualRecognition
extends com.ibm.cloud.sdk.core.service.BaseService
| Constructor and Description | 
|---|
| VisualRecognition(java.lang.String versionDate)Deprecated. 
 Use VisualRecognition(String versionDate, AuthenticatorConfig authenticatorConfig) instead | 
| VisualRecognition(java.lang.String versionDate,
                 com.ibm.cloud.sdk.core.security.AuthenticatorConfig authenticatorConfig)Instantiates a new `VisualRecognition` with the specified authentication configuration. | 
| Modifier and Type | Method and Description | 
|---|---|
| com.ibm.cloud.sdk.core.http.ServiceCall<ClassifiedImages> | classify()Classify images. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<ClassifiedImages> | classify(ClassifyOptions classifyOptions)Classify images. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<Classifier> | createClassifier(CreateClassifierOptions createClassifierOptions)Create a classifier. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> | deleteClassifier(DeleteClassifierOptions deleteClassifierOptions)Delete a classifier. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> | deleteUserData(DeleteUserDataOptions deleteUserDataOptions)Delete labeled data. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<DetectedFaces> | detectFaces()Detect faces in images. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<DetectedFaces> | detectFaces(DetectFacesOptions detectFacesOptions)Detect faces in images. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<Classifier> | getClassifier(GetClassifierOptions getClassifierOptions)Retrieve classifier details. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<java.io.InputStream> | getCoreMlModel(GetCoreMlModelOptions getCoreMlModelOptions)Retrieve a Core ML model of a classifier. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<Classifiers> | listClassifiers()Retrieve a list of classifiers. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<Classifiers> | listClassifiers(ListClassifiersOptions listClassifiersOptions)Retrieve a list of classifiers. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<Classifier> | updateClassifier(UpdateClassifierOptions updateClassifierOptions)Update a classifier. | 
configureClient, configureHttpClient, createServiceCall, getApiKey, getAuthenticator, getClient, getEndPoint, getName, getPassword, getUsername, isJsonMimeType, isJsonPatchMimeType, isSkipAuthentication, isTokenManagerSet, processServiceCall, setApiKey, setAuthentication, setAuthenticator, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setIamCredentials, setSkipAuthentication, setUsernameAndPassword, toString@Deprecated public VisualRecognition(java.lang.String versionDate)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
          calls from failing when the service introduces breaking changes.public VisualRecognition(java.lang.String versionDate,
                         com.ibm.cloud.sdk.core.security.AuthenticatorConfig authenticatorConfig)
versionDate - The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
          calls from failing when the service introduces breaking changes.authenticatorConfig - the authentication configuration for this servicepublic com.ibm.cloud.sdk.core.http.ServiceCall<ClassifiedImages> classify(ClassifyOptions classifyOptions)
classifyOptions - the ClassifyOptions containing the options for the callServiceCall with a response type of ClassifiedImagespublic com.ibm.cloud.sdk.core.http.ServiceCall<ClassifiedImages> classify()
ServiceCall with a response type of ClassifiedImagespublic com.ibm.cloud.sdk.core.http.ServiceCall<DetectedFaces> detectFaces(DetectFacesOptions detectFacesOptions)
detectFacesOptions - the DetectFacesOptions containing the options for the callServiceCall with a response type of DetectedFacespublic com.ibm.cloud.sdk.core.http.ServiceCall<DetectedFaces> detectFaces()
ServiceCall with a response type of DetectedFacespublic com.ibm.cloud.sdk.core.http.ServiceCall<Classifier> createClassifier(CreateClassifierOptions createClassifierOptions)
createClassifierOptions - the CreateClassifierOptions containing the options for the callServiceCall with a response type of Classifierpublic com.ibm.cloud.sdk.core.http.ServiceCall<Classifiers> listClassifiers(ListClassifiersOptions listClassifiersOptions)
listClassifiersOptions - the ListClassifiersOptions containing the options for the callServiceCall with a response type of Classifierspublic com.ibm.cloud.sdk.core.http.ServiceCall<Classifiers> listClassifiers()
ServiceCall with a response type of Classifierspublic com.ibm.cloud.sdk.core.http.ServiceCall<Classifier> getClassifier(GetClassifierOptions getClassifierOptions)
getClassifierOptions - the GetClassifierOptions containing the options for the callServiceCall with a response type of Classifierpublic com.ibm.cloud.sdk.core.http.ServiceCall<Classifier> updateClassifier(UpdateClassifierOptions updateClassifierOptions)
updateClassifierOptions - the UpdateClassifierOptions containing the options for the callServiceCall with a response type of Classifierpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteClassifier(DeleteClassifierOptions deleteClassifierOptions)
deleteClassifierOptions - the DeleteClassifierOptions containing the options for the callServiceCall with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.io.InputStream> getCoreMlModel(GetCoreMlModelOptions getCoreMlModelOptions)
getCoreMlModelOptions - the GetCoreMlModelOptions containing the options for the callServiceCall with a response type of InputStreampublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteUserData(DeleteUserDataOptions deleteUserDataOptions)
deleteUserDataOptions - the DeleteUserDataOptions containing the options for the callServiceCall with a response type of Void