public class AnalyzeOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
AnalyzeOptions.Builder
Builder.
|
static interface |
AnalyzeOptions.Features |
Modifier and Type | Method and Description |
---|---|
List<String> |
collectionIds()
Gets the collectionIds.
|
List<String> |
features()
Gets the features.
|
List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> |
imagesFile()
Gets the imagesFile.
|
List<String> |
imageUrl()
Gets the imageUrl.
|
AnalyzeOptions.Builder |
newBuilder()
New builder.
|
Float |
threshold()
Gets the threshold.
|
public AnalyzeOptions.Builder newBuilder()
public List<String> collectionIds()
The IDs of the collections to analyze.
public List<String> features()
The features to analyze.
public List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> imagesFile()
An array of image files (.jpg or .png) or .zip files with images. - Include a maximum of 20 images in a request. - Limit the .zip file to 100 MB. - Limit each image file to 10 MB.
You can also include an image with the **image_url** parameter.
public List<String> imageUrl()
An array of URLs of image files (.jpg or .png). - Include a maximum of 20 images in a request. - Limit each image file to 10 MB. - Minimum width and height is 30 pixels, but the service tends to perform better with images that are at least 300 x 300 pixels. Maximum is 5400 pixels for either height or width.
You can also include images with the **images_file** parameter.
public Float threshold()
The minimum score a feature must have to be returned.
Copyright © 2021 IBM Cloud. All rights reserved.