Skip to content

Commit

Permalink
disabled log output in tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
internaut committed Jul 29, 2014
1 parent e804d21 commit edd2a01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions track.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void Track::update() {
// and if not, if it already time out
if (!markerUpdated && now - existingMrk->getDetectionTimeMs() > OCV_AR_CONF_TRACKER_MARKER_TIMEOUT_MS) {
// if so, remove it!
printf("ocv_ar::Track - lost marker %d\n", existingMrkId);
// printf("ocv_ar::Track - lost marker %d\n", existingMrkId);
markers.erase(it++); // safe map item delete
} else {
++it;
Expand All @@ -114,13 +114,13 @@ void Track::update() {
{
MarkerMapPair newMrkPair(newMrkIt->getId(), *newMrkIt);
markers.insert(newMrkPair);
printf("ocv_ar::Track - added new marker %d\n", newMrkIt->getId());
// printf("ocv_ar::Track - added new marker %d\n", newMrkIt->getId());
}
}

newMarkersFresh = false;

printf("ocv_ar::Track - tracking %lu markers now\n", markers.size());
// printf("ocv_ar::Track - tracking %lu markers now\n", markers.size());

unlockMarkers(); // unlock markers map
}

0 comments on commit edd2a01

Please sign in to comment.