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 | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
collectionIds |
protected java.util.List<java.lang.String> |
features |
protected java.util.List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> |
imagesFile |
protected java.util.List<java.lang.String> |
imageUrl |
protected java.lang.Float |
threshold |
Modifier | Constructor and Description |
---|---|
protected |
AnalyzeOptions(AnalyzeOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
collectionIds()
Gets the collectionIds.
|
java.util.List<java.lang.String> |
features()
Gets the features.
|
java.util.List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> |
imagesFile()
Gets the imagesFile.
|
java.util.List<java.lang.String> |
imageUrl()
Gets the imageUrl.
|
AnalyzeOptions.Builder |
newBuilder()
New builder.
|
java.lang.Float |
threshold()
Gets the threshold.
|
protected java.util.List<java.lang.String> collectionIds
protected java.util.List<java.lang.String> features
protected java.util.List<com.ibm.cloud.sdk.core.service.model.FileWithMetadata> imagesFile
protected java.util.List<java.lang.String> imageUrl
protected java.lang.Float threshold
protected AnalyzeOptions(AnalyzeOptions.Builder builder)
public AnalyzeOptions.Builder newBuilder()
public java.util.List<java.lang.String> collectionIds()
The IDs of the collections to analyze.
public java.util.List<java.lang.String> features()
The features to analyze.
public java.util.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 java.util.List<java.lang.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 java.lang.Float threshold()
The minimum score a feature must have to be returned.