Skip to content

Commit

Permalink
Disable ccd tracker when there is an inversion issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SamFlt committed Mar 11, 2025
1 parent c928b09 commit 7bf6e04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/tracker/rbt/src/features/vpRBSilhouetteCCDTracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,10 @@ void vpRBSilhouetteCCDTracker::computeErrorAndInteractionMatrix()
m_sigma = m_ccdParameters.covarianceIterDecreaseFactor * m_sigma + 2.0 * (1.0 - m_ccdParameters.covarianceIterDecreaseFactor) * hessian_E_inv;
}
catch (vpException &e) {
m_numFeatures = 0;
m_weighted_error = 0;
m_LTL = 0;
m_LTR = 0;
std::cerr << "Inversion issues in CCD tracker" << std::endl;
}

Expand Down

0 comments on commit 7bf6e04

Please sign in to comment.