watson.visual_recognition({version: 'v1-beta', ...});
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Methods
labels()
Provides a list of the labels and label_groups
which are available for use with the recognize method
recognize(image_file, labels_to_check)
Classifies @param image_file against @param labels_to_check classifiers.
The response includes a score for a label if the score meets the minimum
threshold of 0.5
Parameters:
| Name | Type | Description |
|---|---|---|
image_file |
ReadStream | The image file to analyze. |
labels_to_check |
String | The labels to check |