update 坐标系转换

This commit is contained in:
root
2024-08-27 09:49:51 +08:00
parent 173ae711b4
commit b70cbc4092
3 changed files with 8 additions and 15 deletions

View File

@ -7,6 +7,9 @@ class Error_Code(Enum):
class VisionError_Code(Enum): class VisionError_Code(Enum):
CAMERA_SUCCESS = 200 CAMERA_SUCCESS = 200
class TraceError_Code(Enum):
Trace_SUCCESS = 300

View File

@ -1,18 +1,8 @@
# 路径处理 # 路径处理
Code 在 Expection的VisionError_Code里 增加定义 使用model的Position类和Expection的code定义
## 提供视频流, ## 获取世界坐标
``` ```
func1() def fun1(Detection_Position):
return Code,frame #返回错误代码和当前帧 return Code, RealPosition;
``` ```
## 提供当前摄像头位置识别结果
```
func2()
return Code,frame,position #返回带识别标签的当前图像 和 识别坐标结果Detection_Position对象
```
**注意:** 识别不到报异常Code且带有识别结果标签和位置都绘制出来的图像保存到本地位置
保存位置在Seting.ini里面的[Camera_Feed]定义

View File

@ -35,7 +35,7 @@ font: 290 12pt "Microsoft YaHei";
font: 700 12pt &quot;Microsoft YaHei UI&quot;;</string> font: 700 12pt &quot;Microsoft YaHei UI&quot;;</string>
</property> </property>
<property name="text"> <property name="text">
<string>湖南长沙大尧信息科技有限公司</string> <string>中联</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set> <set>Qt::AlignmentFlag::AlignCenter</set>