Odometry: prepareRGBFrameBase
asserts !depth.empty()
#23103
Labels
Milestone
prepareRGBFrameBase
asserts !depth.empty()
#23103
System Information
OpenCV version: 5.x, commit d499581
Detailed description
prepareRGBFrameBase
callsprepareScaleDepth
, which asserts!depth.empty()
. This assertion appears to be spurious becauseprepareRGBFrameBase
is associated with the caseOdometryType::RGB
.OdometryType::RGB
(unlikeOdometryType::DEPTH
andOdometryType::RGB_DEPTH
) should not require a depth frame.Steps to reproduce
The bug can be reproduced with Python code similar to the following, for any BGR images:
This throws
odometry_functions.cpp:49: error: (-215:Assertion failed) !depth.empty()
.Issue submission checklist
The text was updated successfully, but these errors were encountered: