Skip to content

Commit

Permalink
remove DetectAdditional to reduce false detections
Browse files Browse the repository at this point in the history
  • Loading branch information
girtslinde committed May 15, 2016
1 parent 20887dc commit 045b1a5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nodes/FindMarkerBundlesNoKinect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ void GetMultiMarkerPoses(IplImage *image, bool visualize) {
for(int i=0; i<n_bundles; i++)
multi_marker_bundles[i]->Update(marker_detector.markers, cam, bundlePoses[i]);

if(marker_detector.DetectAdditional(image, cam, visualize) > 0){
for(int i=0; i<n_bundles; i++){
if ((multi_marker_bundles[i]->SetTrackMarkers(marker_detector, cam, bundlePoses[i], image) > 0))
multi_marker_bundles[i]->Update(marker_detector.markers, cam, bundlePoses[i]);
}
}
// if(marker_detector.DetectAdditional(image, cam, visualize) > 0){
// for(int i=0; i<n_bundles; i++){
// if ((multi_marker_bundles[i]->SetTrackMarkers(marker_detector, cam, bundlePoses[i], image) > 0))
// multi_marker_bundles[i]->Update(marker_detector.markers, cam, bundlePoses[i]);
// }
// }
}
}

Expand Down

0 comments on commit 045b1a5

Please sign in to comment.