You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code: IntelRealSense/librealsens/wrappers/python/examples/box_dimensioner_multicam
I can' t change the decimation_magnitude parameter. Keep getting this error:
Traceback (most recent call last):
File ".\4_calibrate_from_bag.py", line 68, in calibrate_from_bag
kabsch_result = pose_estimator.perform_pose_estimation()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".\calibration_kabsch.py", line 200, in perform_pose_estimation
corners3D = self.get_chessboard_corners_in3d()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".\calibration_kabsch.py", line 166, in get_chessboard_corners_in3d
depth = get_depth_at_pixel(depth_frame, corner[0], corner[1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".\helper_functions.py", line 145, in get_depth_at_pixel
return depth_frame.as_depth_frame().get_distance(round(pixel_x), round(pixel_y))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: out of range value for argument "x"
I suppose this filter affects the resolution. I can adjust the value in the RealSense Viewer and it produces a better output. So I want to change it in my code, too. What should I do?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Code: IntelRealSense/librealsens/wrappers/python/examples/box_dimensioner_multicam
I can' t change the decimation_magnitude parameter. Keep getting this error:
Traceback (most recent call last):
File ".\4_calibrate_from_bag.py", line 68, in calibrate_from_bag
kabsch_result = pose_estimator.perform_pose_estimation()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".\calibration_kabsch.py", line 200, in perform_pose_estimation
corners3D = self.get_chessboard_corners_in3d()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".\calibration_kabsch.py", line 166, in get_chessboard_corners_in3d
depth = get_depth_at_pixel(depth_frame, corner[0], corner[1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".\helper_functions.py", line 145, in get_depth_at_pixel
return depth_frame.as_depth_frame().get_distance(round(pixel_x), round(pixel_y))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: out of range value for argument "x"
I suppose this filter affects the resolution. I can adjust the value in the RealSense Viewer and it produces a better output. So I want to change it in my code, too. What should I do?
Beta Was this translation helpful? Give feedback.
All reactions