Bug fix with intrinsics.
This commit is contained in:
parent
1b80d55094
commit
c93004f03d
2 changed files with 9 additions and 3 deletions
|
@ -197,7 +197,10 @@ bool ImageCapture::OpenImageFiles(const std::vector<std::string>& image_files, f
|
||||||
this->cx = cx;
|
this->cx = cx;
|
||||||
this->cy = cy;
|
this->cy = cy;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
image_intrinsics_set = false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -275,7 +278,10 @@ bool ImageCapture::OpenDirectory(std::string directory, std::string bbox_directo
|
||||||
this->cx = cx;
|
this->cx = cx;
|
||||||
this->cy = cy;
|
this->cy = cy;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
image_intrinsics_set = false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue