We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 188ca4a + 4095ef1 commit c734071Copy full SHA for c734071
modules/ccalib/src/multicalib.cpp
@@ -141,7 +141,7 @@ void MultiCameraCalibration::loadImages()
141
for (int i = 1; i < (int)file_list.size(); ++i)
142
{
143
int cameraVertex, timestamp;
144
- std::string filename = file_list[i].substr(0, file_list[i].find('.'));
+ std::string filename = file_list[i].substr(0, file_list[i].rfind('.'));
145
size_t spritPosition1 = filename.rfind('/');
146
size_t spritPosition2 = filename.rfind('\\');
147
if (spritPosition1!=std::string::npos)
0 commit comments