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