UPDATE Vision 更新openvino模型

This commit is contained in:
HJW
2024-12-02 17:20:40 +08:00
parent e2821f7e48
commit dc640f461d
8 changed files with 172 additions and 140 deletions

View File

@ -50,7 +50,7 @@ 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'
if self.cameraType == 'RVC':
self.camera_rvc = camera_rvc()