public static interface CustomLabel.Builder extends SdkPojo, CopyableBuilder<CustomLabel.Builder,CustomLabel>
| Modifier and Type | Method and Description |
|---|---|
CustomLabel.Builder |
confidence(Float confidence)
The confidence that the model has in the detection of the custom label.
|
default CustomLabel.Builder |
geometry(Consumer<Geometry.Builder> geometry)
The location of the detected object on the image that corresponds to the custom label.
|
CustomLabel.Builder |
geometry(Geometry geometry)
The location of the detected object on the image that corresponds to the custom label.
|
CustomLabel.Builder |
name(String name)
The name of the custom label.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomLabel.Builder name(String name)
The name of the custom label.
name - The name of the custom label.CustomLabel.Builder confidence(Float confidence)
The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.
confidence - The confidence that the model has in the detection of the custom label. The range is 0-100. A higher
value indicates a higher confidence.CustomLabel.Builder geometry(Geometry geometry)
The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.
geometry - The location of the detected object on the image that corresponds to the custom label. Includes an
axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate
spatial information.default CustomLabel.Builder geometry(Consumer<Geometry.Builder> geometry)
The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.
This is a convenience that creates an instance of theGeometry.Builder avoiding the need to create
one manually via Geometry.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to geometry(Geometry).geometry - a consumer that will call methods on Geometry.Buildergeometry(Geometry)Copyright © 2022. All rights reserved.