ssmem / vdo-slam-data-preprocess

17 stars 1 forks source link

the demo in OMD #6

Open JonnyG123789 opened 1 year ago

JonnyG123789 commented 1 year ago

Hello, can you run OMD demo? I faced some problems:

OpenCV Error: Assertion failed (npoints >= 4 && npoints == std::max(ipoints.checkVector(2, 5), ipoints.checkVector(2, 6))) in solvePnPRansac, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/calib3d/src/solvepnp.cpp, line 253 terminate called after throwing an instance of 'cv::Exception' what(): /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/calib3d/src/solvepnp.cpp:253: error: (-215) npoints >= 4 && npoints == std::max(ipoints.checkVector(2, 5), ipoints.checkVector(2, 6)) in function solvePnPRansac

It seems like the problem of pnp-method. In fact, I found that it is caused by the few keypoints(only 2-5) in keypoints extract. In addition, not only did I have this problem:

_https://github.com/halajun/VDO_SLAM/issues/38_

CloudsRL commented 2 months ago

Same problem, anyone fix it?