public class ImageMainObjectDetectionInstance extends Object
| Constructor and Description |
|---|
ImageMainObjectDetectionInstance() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getConfidence()
主体框的置信度,将Float型置信度转为String类型返回,Float取值范围(0~100)。
|
String |
getLabel()
主体的类别,现阶段分为:bounding_box和main_object_box
|
Object |
getLocation()
目标检测框位置信息,包括4个值: width:检测框区域宽度 height:检测框区域高度 top_left_x:检测框左上角到垂直轴距离 top_left_y:检测框左上角到水平轴距离 properties: width: type: string description: 检测框区域高度 example: 139.58 height: type: string description: 检测框区域高度 example: 261.32 top_left_x: type: string description: 检测框左上角到垂直轴距离 example: 256.13 top_left_y: type: string description: 检测框左上角到水平轴距离 example: 85.2
|
int |
hashCode() |
void |
setConfidence(String confidence) |
void |
setLabel(String label) |
void |
setLocation(Object location) |
String |
toString() |
ImageMainObjectDetectionInstance |
withConfidence(String confidence) |
ImageMainObjectDetectionInstance |
withLabel(String label) |
ImageMainObjectDetectionInstance |
withLocation(Object location) |
public ImageMainObjectDetectionInstance withLabel(String label)
public String getLabel()
public void setLabel(String label)
public ImageMainObjectDetectionInstance withLocation(Object location)
public Object getLocation()
public void setLocation(Object location)
public ImageMainObjectDetectionInstance withConfidence(String confidence)
public String getConfidence()
public void setConfidence(String confidence)
Copyright © 2022. All rights reserved.