kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
66af416a9e
commit
b4ac7ae72d
|
@ -342,7 +342,7 @@ void OdmTexturing::loadCameras()
|
|||
cam.pose = transform;
|
||||
|
||||
std::getline(imageListFile, dummyLine);
|
||||
size_t firstWhitespace = dummyLine.find_first_of(" ");
|
||||
/*size_t firstWhitespace = dummyLine.find_first_of(" ");
|
||||
|
||||
if (firstWhitespace != std::string::npos)
|
||||
{
|
||||
|
@ -351,7 +351,10 @@ void OdmTexturing::loadCameras()
|
|||
else
|
||||
{
|
||||
cam.texture_file = imagesPath_ + "/" + dummyLine.substr(2);
|
||||
}
|
||||
}*/
|
||||
|
||||
cam.texture_file = imagesPath_ + "/" + dummyLine;
|
||||
|
||||
|
||||
// Read image to get full resolution size
|
||||
cv::Mat image = cv::imread(cam.texture_file);
|
||||
|
|
Ładowanie…
Reference in New Issue