public static class ImageObject.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ImageObject.Builder |
boundingPolygon(BoundingPolygon boundingPolygon) |
ImageObject |
build() |
ImageObject.Builder |
confidence(Float confidence)
The confidence score, between 0 and 1.
|
ImageObject.Builder |
copy(ImageObject model) |
ImageObject.Builder |
name(String name)
The object category name.
|
public ImageObject.Builder name(String name)
The object category name. Every value returned by the pre-deployed model is in English.
name
- the value to setpublic ImageObject.Builder confidence(Float confidence)
The confidence score, between 0 and 1.
confidence
- the value to setpublic ImageObject.Builder boundingPolygon(BoundingPolygon boundingPolygon)
public ImageObject build()
public ImageObject.Builder copy(ImageObject model)
Copyright © 2016–2024. All rights reserved.