- show no marker axis

- down scale preview image
This commit is contained in:
2025-11-28 20:21:36 +01:00
parent de29a208b4
commit a9de335b48
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -121,8 +121,8 @@ class BoardPose(abc.ABC):
end='') end='')
print(f"\rTilt: {rot[0]:.1f}, Roll: {rot[1]:.1f}, Azimuth: {rot[2]:.1f}", end='') print(f"\rTilt: {rot[0]:.1f}, Roll: {rot[1]:.1f}, Azimuth: {rot[2]:.1f}", end='')
last_rotation = rot last_rotation = rot
img_scaled = cv.resize(img, dsize=None, fx=0.5, fy=0.5)
cv.imshow('img', img) cv.imshow('img', img_scaled)
cv.destroyAllWindows() cv.destroyAllWindows()
+1 -1
View File
@@ -49,7 +49,7 @@ class BoardPoseAruco(BoardPose):
return success, img_size, obj_points, img_points return success, img_size, obj_points, img_points
def _process(self, image, r_vecs: np.ndarray=None, t_vecs: np.ndarray=None, draw_marker_box=True, draw_marker_id=False, draw_marker_axis=True): def _process(self, image, r_vecs: np.ndarray=None, t_vecs: np.ndarray=None, draw_marker_box=True, draw_marker_id=False, draw_marker_axis=False):
pose = False pose = False
r_vec = None r_vec = None
t_vec = None t_vec = None
+1 -1
View File
@@ -44,7 +44,7 @@ class BoardPoseCharuco(BoardPose):
return success, img_size, obj_points, img_points return success, img_size, obj_points, img_points
def _process(self, image, r_vecs: np.ndarray=None, t_vecs: np.ndarray=None, draw_marker_box=True, draw_marker_id=False, draw_marker_axis=True): def _process(self, image, r_vecs: np.ndarray=None, t_vecs: np.ndarray=None, draw_marker_box=True, draw_marker_id=False, draw_marker_axis=False):
pose = False pose = False
r_vec = None r_vec = None
t_vec = None t_vec = None