update 更新ui和增加视觉模块

This commit is contained in:
FrankCV2048
2024-08-22 23:23:05 +08:00
parent 86f21ffda8
commit 7dc66871ee
13 changed files with 292 additions and 178 deletions

21
Model/Position.py Normal file
View File

@ -0,0 +1,21 @@
"""
摄像头识别位置和角度
"""
class Detection_Position:
def __init__(self):
self.X = 0.0
self.Y = 0.0
self.Z = 0.0
self.U = 0.0
self.V = 0.0
self.W = 0.0
def init_position(self,X,Y,Z,U,V,W):
self.X = X
self.Y = Y
self.Z = Z
self.U = U
self.V = V
self.W = W