Click or drag to resize

VisualRecognitionClassify Method (VisualRecognitionSuccessCallbackClassifiedImages, VisualRecognitionFailCallback, Byte, String, String, String, Single, String, DictionaryString, Object)

Classifies an image using byte data.

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 bool Classify(
	VisualRecognitionSuccessCallback<ClassifiedImages> successCallback,
	VisualRecognitionFailCallback failCallback,
	byte[] imageData,
	string imageMimeType,
	string[] owners = null,
	string[] classifierIDs = null,
	float threshold = 0f,
	string acceptLanguage = "en",
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3VisualRecognitionSuccessCallbackClassifiedImages
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3VisualRecognitionFailCallback
The fail callback.
imageData
Type: SystemByte
Byte array of image data.
imageMimeType
Type: SystemString
The mimetype of the image data.
owners (Optional)
Type: SystemString
Owners.
classifierIDs (Optional)
Type: SystemString
An array of classifier identifiers.
threshold (Optional)
Type: SystemSingle
Threshold.
acceptLanguage (Optional)
Type: SystemString
Accepted language.
customData (Optional)
Type: System.Collections.GenericDictionaryString, Object
Custom data.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.Classify(IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.SuccessCallback{IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.ClassifiedImages},IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.FailCallback,System.Byte[],System.String,System.String[],System.String[],System.Single,System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]

See Also