Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Apr 21, 2024
1 parent 9f54d41 commit f7d6fb0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/detector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,10 +678,8 @@ class UVDARDetector : public nodelet::Nodelet{
cv::Mat white_background = cv::Mat::ones(images_current_[image_index].size(),images_current_[image_index].type()) * 255;
uvda_[image_index]->generateVisualizationAdaptive(white_background,visualization_image,adaptive_detected_points_[image_index]);
//publishVisualizationImage(visualization_image);
}
else{
generateVisualization(image_visualization_);
}

//generateVisualization(image_visualization_);

if ((visualization_image.cols != 0) && (visualization_image.rows != 0)){
if (_publish_visualization_){
Expand Down

0 comments on commit f7d6fb0

Please sign in to comment.