Click or drag to resize

VisualRecognition Class

This class wraps the Visual Recognition service. Visual Recognition Service
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3VisualRecognition

Namespace:  IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class VisualRecognition : IWatsonService

The VisualRecognition type exposes the following members.

Constructors
  NameDescription
Public methodVisualRecognition
Initializes a new instance of the VisualRecognition class
Top
Properties
  NameDescription
Public propertyCredentials
Gets and sets the credentials of the service. Replace the default endpoint if endpoint is defined.
Public propertyLoadFile
Set this property to overload the internal file loading of this class.
Public propertyUrl
Gets and sets the endpoint URL for the service.
Public propertyVersionDate
Gets and sets the versionDate of the service.
Top
Methods
  NameDescription
Public methodClassify(String, VisualRecognitionSuccessCallbackClassifiedImages, VisualRecognitionFailCallback, String, String, Single, String, DictionaryString, Object)
Classifies image specified by URL.
Public methodClassify(VisualRecognitionSuccessCallbackClassifiedImages, VisualRecognitionFailCallback, String, String, String, Single, String, DictionaryString, Object)
Classifies an image from the file system.
Public methodClassify(VisualRecognitionSuccessCallbackClassifiedImages, VisualRecognitionFailCallback, Byte, String, String, String, Single, String, DictionaryString, Object)
Classifies an image using byte data.
Public methodDeleteClassifier
Deletes the classifier by classifierID.
Public methodDetectFaces(String, VisualRecognitionSuccessCallbackDetectedFaces, VisualRecognitionFailCallback, DictionaryString, Object)
Detects faces in a given image URL.
Public methodDetectFaces(VisualRecognitionSuccessCallbackDetectedFaces, VisualRecognitionFailCallback, Byte, DictionaryString, Object)
Detect faces in an image's byteData.
Public methodDetectFaces(VisualRecognitionSuccessCallbackDetectedFaces, VisualRecognitionFailCallback, String, DictionaryString, Object)
Detects faces in a jpg, gif, png or zip file.
Public methodDownloadCoreMLModel
Public methodGetClassifier
Gets a classifier by classifierId.
Public methodGetClassifiersBrief
Gets a list of all classifiers.
Public methodGetClassifiersVerbose
Gets a list of all classifiers.
Public methodGetCoreMLModel
Public methodTrainClassifier(VisualRecognitionSuccessCallbackClassifierVerbose, VisualRecognitionFailCallback, String, DictionaryString, Byte, Byte, String, DictionaryString, Object)
Trains a classifier
Public methodTrainClassifier(VisualRecognitionSuccessCallbackClassifierVerbose, VisualRecognitionFailCallback, String, DictionaryString, String, String, String, DictionaryString, Object)
Trains a classifier. Training requires a total of at least two zip files: Two positive example zips with at least 10 positive examples each or one zip file of 10 positive examples and a zip file of 10 negative examples. The total size of all files must be below 256mb. Additional training can be done by using UpdateClassifier.
Public methodUpdateClassifier(VisualRecognitionSuccessCallbackClassifierVerbose, VisualRecognitionFailCallback, String, String, DictionaryString, Byte, Byte, String, DictionaryString, Object)
Updates a classifier using byte data.
Public methodUpdateClassifier(VisualRecognitionSuccessCallbackClassifierVerbose, VisualRecognitionFailCallback, String, String, DictionaryString, String, String, String, DictionaryString, Object)
Updates a trained classifier. The total size of all files must be below 256mb.
Top
See Also