public static interface Label.Builder extends SdkPojo, CopyableBuilder<Label.Builder,Label>
| Modifier and Type | Method and Description |
|---|---|
Label.Builder |
confidence(Float confidence)
Level of confidence.
|
Label.Builder |
instances(Collection<Instance> instances)
If
Label represents an object, Instances contains the bounding boxes for each
instance of the detected object. |
Label.Builder |
instances(Consumer<Instance.Builder>... instances)
If
Label represents an object, Instances contains the bounding boxes for each
instance of the detected object. |
Label.Builder |
instances(Instance... instances)
If
Label represents an object, Instances contains the bounding boxes for each
instance of the detected object. |
Label.Builder |
name(String name)
The name (label) of the object or scene.
|
Label.Builder |
parents(Collection<Parent> parents)
The parent labels for a label.
|
Label.Builder |
parents(Consumer<Parent.Builder>... parents)
The parent labels for a label.
|
Label.Builder |
parents(Parent... parents)
The parent labels for a label.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLabel.Builder name(String name)
The name (label) of the object or scene.
name - The name (label) of the object or scene.Label.Builder confidence(Float confidence)
Level of confidence.
confidence - Level of confidence.Label.Builder instances(Collection<Instance> instances)
If Label represents an object, Instances contains the bounding boxes for each
instance of the detected object. Bounding boxes are returned for common object labels such as people, cars,
furniture, apparel or pets.
instances - If Label represents an object, Instances contains the bounding boxes for
each instance of the detected object. Bounding boxes are returned for common object labels such as
people, cars, furniture, apparel or pets.Label.Builder instances(Instance... instances)
If Label represents an object, Instances contains the bounding boxes for each
instance of the detected object. Bounding boxes are returned for common object labels such as people, cars,
furniture, apparel or pets.
instances - If Label represents an object, Instances contains the bounding boxes for
each instance of the detected object. Bounding boxes are returned for common object labels such as
people, cars, furniture, apparel or pets.Label.Builder instances(Consumer<Instance.Builder>... instances)
If Label represents an object, Instances contains the bounding boxes for each
instance of the detected object. Bounding boxes are returned for common object labels such as people, cars,
furniture, apparel or pets.
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #instances(List) .instances - a consumer that will call methods on List.Builder #instances(List) Label.Builder parents(Collection<Parent> parents)
The parent labels for a label. The response includes all ancestor labels.
parents - The parent labels for a label. The response includes all ancestor labels.Label.Builder parents(Parent... parents)
The parent labels for a label. The response includes all ancestor labels.
parents - The parent labels for a label. The response includes all ancestor labels.Label.Builder parents(Consumer<Parent.Builder>... parents)
The parent labels for a label. The response includes all ancestor labels.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #parents(List) .parents - a consumer that will call methods on List.Builder #parents(List) Copyright © 2020. All rights reserved.