Skip to content
Snippets Groups Projects
Commit a8bb0f95 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Tuning

parent 94d1064b
No related branches found
No related tags found
1 merge request!233WIP: Apriltag
Pipeline #2434 passed
...@@ -44,9 +44,9 @@ int main(int argc, char *argv[]) ...@@ -44,9 +44,9 @@ int main(int argc, char *argv[])
// General execution options // General execution options
bool APPLY_CONTRAST = true; const bool APPLY_CONTRAST = false;
bool IMAGE_OUTPUT = true; const bool IMAGE_OUTPUT = true;
bool USEMAP = true; const bool USEMAP = true;
WOLF_INFO( "==================== processor apriltag test ======================" ) WOLF_INFO( "==================== processor apriltag test ======================" )
...@@ -160,7 +160,7 @@ int main(int argc, char *argv[]) ...@@ -160,7 +160,7 @@ int main(int argc, char *argv[])
draw_apriltag(img->getImage(), fa->getTagCorners(), 1); draw_apriltag(img->getImage(), fa->getTagCorners(), 1);
} }
cv::imshow( img->getName(), img->getImage() ); // display original image. cv::imshow( img->getName(), img->getImage() ); // display original image.
cv::waitKey(0.1); cv::waitKey(1);
} }
} }
} }
...@@ -184,7 +184,7 @@ int main(int argc, char *argv[]) ...@@ -184,7 +184,7 @@ int main(int argc, char *argv[])
WOLF_INFO( "==================== Solve problem ======================" ) WOLF_INFO( "==================== Solve problem ======================" )
std::string report = ceres_manager->solve(SolverManager::ReportVerbosity::FULL); // 0: nothing, 1: BriefReport, 2: FullReport std::string report = ceres_manager->solve(SolverManager::ReportVerbosity::FULL); // 0: nothing, 1: BriefReport, 2: FullReport
WOLF_DEBUG(report); WOLF_DEBUG(report);
problem->print(4,1,1,1); problem->print(3,1,1,1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment