Construct a VisualRecognitionV3 object.
Name | Type | Attribute | Description |
---|---|---|---|
options |
UserOptions |
Options for the service. |
Release date of the API version you want to use. Specify dates in YYYY-MM-DD format. The current version is
2018-03-19
.
Classify images.
Classify images with built-in or custom classifiers.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
ClassifyParams | Optional |
Properties
|
Create a classifier.
Train a new multi-faceted classifier on the uploaded image data. Create your custom classifier with positive or negative example training images. Include at least two sets of examples, either two positive example files or one positive and one negative file. You can upload a maximum of 256 MB per call.
Tips when creating:
If you set the X-Watson-Learning-Opt-Out header parameter to true
when you create a classifier, the example
training images are not stored. Save your training images locally. For more information, see [Data
collection](#data-collection).
Encode all names in UTF-8 if they contain non-ASCII characters (.zip and image file names, and classifier and class names). The service assumes UTF-8 encoding if it encounters non-ASCII characters.
Name | Type | Attribute | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
CreateClassifierParams |
The parameters to send to the service. Properties
|
Delete a classifier.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteClassifierParams |
The parameters to send to the service. Properties
|
Delete labeled data.
Deletes all data associated with a specified customer ID. The method has no effect if no data is associated with the customer ID.
You associate a customer ID with data by passing the X-Watson-Metadata
header with a request that passes data.
For more information about personal data and customer IDs, see Information
security.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteUserDataParams |
The parameters to send to the service. Properties
|
Disables retries.
Enable retries for unfulfilled requests.
Name | Type | Attribute | Description |
---|---|---|---|
retryOptions |
RetryOptions | Optional |
configuration for retries |
Get the instance of the authenticator set on the service.
Retrieve classifier details.
Retrieve information about a custom classifier.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
GetClassifierParams |
The parameters to send to the service. Properties
|
Retrieve a Core ML model of a classifier.
Download a Core ML model file (.mlmodel) of a custom classifier that returns "core_ml_enabled": true in the classifier details.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
GetCoreMlModelParams |
The parameters to send to the service. Properties
|
Get the Axios instance set on the service. All requests will be made using this instance.
Retrieve a list of classifiers.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
ListClassifiersParams | Optional |
Properties
|
Turn request body compression on or off.
Name | Type | Attribute | Description |
---|---|---|---|
setting |
boolean |
Will turn it on if 'true', off if 'false'. |
Set the service URL to send requests to.
Name | Type | Attribute | Description |
---|---|---|---|
url |
string |
The base URL for the service. |
Update a classifier.
Update a custom classifier by adding new positive or negative classes or by adding new images to existing classes. You must supply at least one set of positive or negative examples. For details, see Updating custom classifiers.
Encode all names in UTF-8 if they contain non-ASCII characters (.zip and image file names, and classifier and class names). The service assumes UTF-8 encoding if it encounters non-ASCII characters.
Tips about retraining:
You can't update the classifier if the X-Watson-Learning-Opt-Out header parameter was set to true
when the
classifier was created. Training images are not stored in that case. Instead, create another classifier. For more
information, see Data collection.
Don't make retraining calls on a classifier until the status is ready. When you submit retraining requests in
parallel, the last request overwrites the previous requests. The retrained
property shows the last time the
classifier retraining finished.
Name | Type | Attribute | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
UpdateClassifierParams |
The parameters to send to the service. Properties
|
Generated using TypeDoc
IBM Watson™ Visual Recognition is discontinued. Existing instances are supported until 1 December 2021, but as of 7 January 2021, you can't create instances. Any instance that is provisioned on 1 December 2021 will be deleted. {: deprecated} interfaces
The IBM Watson Visual Recognition service uses deep learning algorithms to identify scenes and objects in images that you upload to the service. You can create and train a custom classifier to identify subjects that suit your needs.
API Version: 3.0 See: https://cloud.ibm.com/docs/visual-recognition