Package com.viam.service.vision.v1
Interface Vision.DetectionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Vision.Detection
,Vision.Detection.Builder
- Enclosing class:
- Vision
public static interface Vision.DetectionOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlabel associated with the detected objectcom.google.protobuf.ByteString
label associated with the detected objectdouble
the confidence of the detectionlong
getXMax()
optional int64 x_max = 3 [json_name = "xMax"];
long
getXMin()
the four corners of the boxlong
getYMax()
optional int64 y_max = 4 [json_name = "yMax"];
long
getYMin()
optional int64 y_min = 2 [json_name = "yMin"];
boolean
hasXMax()
optional int64 x_max = 3 [json_name = "xMax"];
boolean
hasXMin()
the four corners of the boxboolean
hasYMax()
optional int64 y_max = 4 [json_name = "yMax"];
boolean
hasYMin()
optional int64 y_min = 2 [json_name = "yMin"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasXMin
boolean hasXMin()the four corners of the box
optional int64 x_min = 1 [json_name = "xMin"];
- Returns:
- Whether the xMin field is set.
-
getXMin
long getXMin()the four corners of the box
optional int64 x_min = 1 [json_name = "xMin"];
- Returns:
- The xMin.
-
hasYMin
boolean hasYMin()optional int64 y_min = 2 [json_name = "yMin"];
- Returns:
- Whether the yMin field is set.
-
getYMin
long getYMin()optional int64 y_min = 2 [json_name = "yMin"];
- Returns:
- The yMin.
-
hasXMax
boolean hasXMax()optional int64 x_max = 3 [json_name = "xMax"];
- Returns:
- Whether the xMax field is set.
-
getXMax
long getXMax()optional int64 x_max = 3 [json_name = "xMax"];
- Returns:
- The xMax.
-
hasYMax
boolean hasYMax()optional int64 y_max = 4 [json_name = "yMax"];
- Returns:
- Whether the yMax field is set.
-
getYMax
long getYMax()optional int64 y_max = 4 [json_name = "yMax"];
- Returns:
- The yMax.
-
getConfidence
double getConfidence()the confidence of the detection
double confidence = 5 [json_name = "confidence"];
- Returns:
- The confidence.
-
getClassName
String getClassName()label associated with the detected object
string class_name = 6 [json_name = "className"];
- Returns:
- The className.
-
getClassNameBytes
com.google.protobuf.ByteString getClassNameBytes()label associated with the detected object
string class_name = 6 [json_name = "className"];
- Returns:
- The bytes for className.
-