---
title: TextObjDetectInfo
description: "定义检测框的四个坐标点和置信度"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/msadg/mxvisionug_0209.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/msadg/mxvisionug_0209.html
indexId: 6525ab0934a33e5d42fe708979321a8420365c97a526443a2dc0263399f7b831102
---
# TextObjDetectInfo

#### 功能

定义检测框的四个坐标点和置信度


#### 结构定义

```
struct TextObjDetectInfo {
float x0;
float y0;
float x1;
float y1;
float x2;
float y2;
float x3;
float y3;
float confidence;
};
```


#### 参数说明

| 参数名 | 说明 |
| --- | --- |
| x0 | 检测框其中一个横坐标。 |
| y0 | 检测框其中一个纵坐标。 |
| x1 | 检测框其中一个横坐标。 |
| y1 | 检测框其中一个纵坐标。 |
| x2 | 检测框其中一个横坐标。 |
| y2 | 检测框其中一个纵坐标。 |
| x3 | 检测框其中一个横坐标。 |
| y4 | 检测框其中一个纵坐标。 |
| confidence | 置信度。 |
