@Namespace(value="nvinfer1") public static enum nvinfer.BoundingBoxFormat extends Enum<nvinfer.BoundingBoxFormat>
INMSLayer
Enum Constant and Description |
---|
kCENTER_SIZES
(x_center, y_center, width, height) where (x_center, y_center) is the center point of the box
|
kCORNER_PAIRS
(x1, y1, x2, y2) where (x1, y1) and (x2, y2) are any pair of diagonal corners
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.BoundingBoxFormat |
intern() |
String |
toString() |
static nvinfer.BoundingBoxFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.BoundingBoxFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.BoundingBoxFormat kCORNER_PAIRS
public static final nvinfer.BoundingBoxFormat kCENTER_SIZES
public static nvinfer.BoundingBoxFormat[] values()
for (nvinfer.BoundingBoxFormat c : nvinfer.BoundingBoxFormat.values()) System.out.println(c);
public static nvinfer.BoundingBoxFormat 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 nvinfer.BoundingBoxFormat intern()
public String toString()
toString
in class Enum<nvinfer.BoundingBoxFormat>
Copyright © 2024. All rights reserved.