public static enum LabelImageRequest.Feature extends Enum<LabelImageRequest.Feature> implements com.google.protobuf.ProtocolMessageEnum
Image labeling task feature.Protobuf enum
google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature| Enum Constant and Description |
|---|
BOUNDING_BOX
Label image with bounding boxes for labels.
|
BOUNDING_POLY
Label images with bounding poly.
|
CLASSIFICATION
Label whole image with one or more of labels.
|
FEATURE_UNSPECIFIED
FEATURE_UNSPECIFIED = 0; |
ORIENTED_BOUNDING_BOX
Label oriented bounding box.
|
POLYLINE
Label images with polyline.
|
SEGMENTATION
Label images with segmentation.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BOUNDING_BOX_VALUE
Label image with bounding boxes for labels.
|
static int |
BOUNDING_POLY_VALUE
Label images with bounding poly.
|
static int |
CLASSIFICATION_VALUE
Label whole image with one or more of labels.
|
static int |
FEATURE_UNSPECIFIED_VALUE
FEATURE_UNSPECIFIED = 0; |
static int |
ORIENTED_BOUNDING_BOX_VALUE
Label oriented bounding box.
|
static int |
POLYLINE_VALUE
Label images with polyline.
|
static int |
SEGMENTATION_VALUE
Label images with segmentation.
|
| Modifier and Type | Method and Description |
|---|---|
static LabelImageRequest.Feature |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<LabelImageRequest.Feature> |
internalGetValueMap() |
static LabelImageRequest.Feature |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LabelImageRequest.Feature |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LabelImageRequest.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelImageRequest.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelImageRequest.Feature FEATURE_UNSPECIFIED
FEATURE_UNSPECIFIED = 0;public static final LabelImageRequest.Feature CLASSIFICATION
Label whole image with one or more of labels.
CLASSIFICATION = 1;public static final LabelImageRequest.Feature BOUNDING_BOX
Label image with bounding boxes for labels.
BOUNDING_BOX = 2;public static final LabelImageRequest.Feature ORIENTED_BOUNDING_BOX
Label oriented bounding box. The box does not have to be parallel to horizontal line.
ORIENTED_BOUNDING_BOX = 6;public static final LabelImageRequest.Feature BOUNDING_POLY
Label images with bounding poly. A bounding poly is a plane figure that is bounded by a finite chain of straight line segments closing in a loop.
BOUNDING_POLY = 3;public static final LabelImageRequest.Feature POLYLINE
Label images with polyline. Polyline is formed by connected line segments which are not in closed form.
POLYLINE = 4;public static final LabelImageRequest.Feature SEGMENTATION
Label images with segmentation. Segmentation is different from bounding poly since it is more fine-grained, pixel level annotation.
SEGMENTATION = 5;public static final LabelImageRequest.Feature UNRECOGNIZED
public static final int FEATURE_UNSPECIFIED_VALUE
FEATURE_UNSPECIFIED = 0;public static final int CLASSIFICATION_VALUE
Label whole image with one or more of labels.
CLASSIFICATION = 1;public static final int BOUNDING_BOX_VALUE
Label image with bounding boxes for labels.
BOUNDING_BOX = 2;public static final int ORIENTED_BOUNDING_BOX_VALUE
Label oriented bounding box. The box does not have to be parallel to horizontal line.
ORIENTED_BOUNDING_BOX = 6;public static final int BOUNDING_POLY_VALUE
Label images with bounding poly. A bounding poly is a plane figure that is bounded by a finite chain of straight line segments closing in a loop.
BOUNDING_POLY = 3;public static final int POLYLINE_VALUE
Label images with polyline. Polyline is formed by connected line segments which are not in closed form.
POLYLINE = 4;public static final int SEGMENTATION_VALUE
Label images with segmentation. Segmentation is different from bounding poly since it is more fine-grained, pixel level annotation.
SEGMENTATION = 5;public static LabelImageRequest.Feature[] values()
for (LabelImageRequest.Feature c : LabelImageRequest.Feature.values()) System.out.println(c);
public static LabelImageRequest.Feature valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static LabelImageRequest.Feature valueOf(int value)
forNumber(int) instead.public static LabelImageRequest.Feature forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<LabelImageRequest.Feature> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LabelImageRequest.Feature valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.