Skip to content

Commit cee6012

Browse files
committed
fix
1 parent c4f4a00 commit cee6012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PiSideCode/processing/pose_processing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ def get_pose(
203203

204204
# Store image and object points
205205
if img_tag_corner_poses is None:
206-
img_corner_locs = corners[tag_count][0]
206+
img_corner_locs = corners[tag_count]
207207
img_tag_corner_poses = self.all_corner_poses[tag_id]
208208
else:
209209
img_corner_locs = np.concatenate(
210-
(img_corner_locs, corners[tag_count][0]), axis=0
210+
(img_corner_locs, corners[tag_count]), axis=0
211211
)
212212
img_tag_corner_poses = np.concatenate(
213213
(img_tag_corner_poses, self.all_corner_poses[tag_id])

0 commit comments

Comments
 (0)