UPDATE Vision 更新openvino模型
This commit is contained in:
@ -35,9 +35,9 @@ class Detection:
|
||||
self.model = yolov8_segment()
|
||||
self.model.load_model(model_path, device)
|
||||
else:
|
||||
model_path = ''.join([os.getcwd(), '/Vision/model/openvino/best.xml'])
|
||||
model_path = ''.join([os.getcwd(), '/Vision/model/openvino/one_bag.xml'])
|
||||
device = 'CPU'
|
||||
self.model = yolov8_segment_openvino(model_path, device, conf_thres=0.3, iou_thres=0.3)
|
||||
self.model = yolov8_segment_openvino(model_path, device, conf_thres=0.6, iou_thres=0.6)
|
||||
|
||||
img_path = ''.join([os.getcwd(), '/Vision/model/data/2024_11_29_10_05_58.png'])
|
||||
point_path = ''.join([os.getcwd(), '/Vision/model/data/2024_11_29_10_05_58.xyz'])
|
||||
|
||||
Reference in New Issue
Block a user