Skip to content

Commit 18f073f

Browse files
authored
Update TargetExtractor.py
fixed my image dimension issue (refer to pull request ethz-asl#15)
1 parent f4af670 commit 18f073f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aslam_offline_calibration/kalibr/python/kalibr_common/TargetExtractor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def multicoreExtractionWrapper(detector, taskq, resultq, clearImages, noTransfor
1818
stamp = task[1]
1919
image = task[2]
2020

21+
image = image.reshape(filter(lambda dim: dim != 1, image.shape))
2122
if noTransformation:
2223
success, obs = detector.findTargetNoTransformation(stamp, np.array(image))
2324
else:

0 commit comments

Comments
 (0)