ORB_SLAM2 icon indicating copy to clipboard operation
ORB_SLAM2 copied to clipboard

"Track lost soon after initialisation, reseting..." keeps happening

Open Amer-Alhamvi opened this issue 4 years ago • 2 comments

So I have this problem with different OpenCV versions, and on 2 different platforms. I have boiled it to the following: The while loop in ORBmatcher.cc in line ~180 is always false since the first part "KFit != KFend" is stuck on false. although the second condition "Fit != Fend" toggles no problem.

Thus the return value nmatches = 0, thus the boolean bOK is set to false in line 310 of Tracking.cc and the mState=LOST.

This is how far I could investigate, a newbie here sorry :) If any one knows the solution or have faced a similar problem before I would appreciate your feedback.

Amer-Alhamvi avatar Feb 09 '21 17:02 Amer-Alhamvi

Hi @Amer-Alhamvi Did you manage to solve it?

thebirdgr avatar Mar 14 '23 03:03 thebirdgr

Hi @Amer-Alhamvi Did you manage to solve it?

Did you solve it? I have the same problem. The camera is zed2i

withnoerr avatar Jul 12 '24 06:07 withnoerr