更新 Vision/camera_coordinate_dete_test.py
This commit is contained in:
@ -7,9 +7,8 @@
|
||||
'''
|
||||
from camera_coordinate_dete import Detection
|
||||
import cv2
|
||||
model_path = './pt_model/last-0903.pt'
|
||||
device = 'cpu'
|
||||
detection = Detection(model_path, device)
|
||||
|
||||
detection = Detection()
|
||||
|
||||
while True:
|
||||
ret, img, xyz, nx_ny_nz = detection.get_position()
|
||||
|
||||
Reference in New Issue
Block a user