我收到如下错误。
traceback (most recent call last):
File "test_sensor.py", line 97, in <module>
detector = ArucoDetector(sensor.camera, data["detector_layout_path"])
File "/home/usr/deeptracking/deeptracking/detector/detector_aruco.py", line 11, in __init__
self.camparam = aruco.CameraParameters()
NameError: name 'aruco' is not defined
但是,我已经安装了cv2.aruco。
有什么问题吗?
环境
答案 0 :(得分:0)
尝试使用 将cv2.aruco导入为aruco