Hi,
I have been trying to run the concurrent_object_detection_body_tracking.py from the Zed SDK Github.
Line 96 - Line 100 corresponding to the error:
# Create OpenGL viewer
viewer = gl.GLViewer()
point_cloud_res = sl.Resolution(min(camera_infos.camera_configuration.resolution.width, 720), min(camera_infos.camera_configuration.resolution.height, 404))
point_cloud_render = sl.Mat()
viewer.init(camera_infos.camera_model, point_cloud_res, obj_param.enable_tracking)
Error:
Traceback (most recent call last):
File "<string>", line 10, in <module>
File "C:\Users\12016\OneDrive\Documents\Vizard\Camelot\concurrent_object_detection_body_tracking.py", line 100, in <module>
viewer.init(camera_infos.camera_model, point_cloud_res, obj_param.enable_tracking)
TypeError: init() missing 1 required positional argument: 'res'
I have tried by changing the ‘point_cloud_res’ to ‘pcr’.
It still gives the same error. There is no other variable named ‘res’.
IDE: Vizard 7