update 更新一键投料,优化设置文字,添加平滑,假装解决闪退
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
from enum import Enum
|
||||
|
||||
import numpy as np
|
||||
from PySide6.QtCore import Signal
|
||||
import Constant
|
||||
from Model.Position import Real_Position
|
||||
from Trace.handeye_calibration import getPosition
|
||||
from Util.util_time import CClockPulse, CTon
|
||||
from Vision.camera_coordinate_dete import Detection
|
||||
|
||||
|
||||
class DetectStatus(Enum):
|
||||
@ -12,8 +14,9 @@ class DetectStatus(Enum):
|
||||
DOk = 2
|
||||
|
||||
class Detect:
|
||||
def __init__(self,detection):
|
||||
self.detection = detection
|
||||
update_detect_image = Signal(np.ndarray)
|
||||
def __init__(self):
|
||||
self.detection = Detection(alignmentType='depth2color')
|
||||
self.detect_status = DetectStatus.DNone
|
||||
self.detect_position = None
|
||||
def run(self):
|
||||
|
||||
Reference in New Issue
Block a user