You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in boards_from_cornersr.cc
if(!params.overlay) {
// start from random index
std::default_random_engine e;
auto time = std::chrono::system_clock::now().time_since_epoch();
e.seed(static_cast(time.count()));
if (corners.p.size() == 0)
{
return;
}
start = e() % corners.p.size();
}
when the corners.p.size() is zero, generate division by zero.....so need to add a judgment
The text was updated successfully, but these errors were encountered:
in boards_from_cornersr.cc
if(!params.overlay) {
// start from random index
std::default_random_engine e;
auto time = std::chrono::system_clock::now().time_since_epoch();
e.seed(static_cast(time.count()));
if (corners.p.size() == 0)
{
return;
}
start = e() % corners.p.size();
}
when the corners.p.size() is zero, generate division by zero.....so need to add a judgment
The text was updated successfully, but these errors were encountered: