-
Hi, for some reasons I can't manage to save the calibration .xml file in stereo camera mode. It is working fine in single camera mode. I'm using the Windows release. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
What happens if you press the save button directly after the successfully performed stereo calibration ? |
Beta Was this translation helpful? Give feedback.
-
I could not reproduce this issue. Today, I tested it on a Windows machine with the PupilEXT 0.1.1 release, and everything is working. Maybe you use an invalid name. See the attached video, which I recorded during today's calibration. StereoCalibration_Example.mp4 |
Beta Was this translation helpful? Give feedback.
-
Think I located the source of the problem. In the file void StereoCameraCalibrationView::onSaveClick() {
QString filename = QFileDialog::getSaveFileName(this, tr("Save Calibration File"), "", tr("XML files (*.xml)"));
if(!filename.isEmpty()) {
filename.replace(" ", "");
QFileInfo fileInfo(filename);
// check if filename has extension, else append xml to it
if(fileInfo.suffix().isEmpty()) {
filename = filename + ".xml";
}
std::cout<<"Saving calibration file to settings directory: "<< filename.toStdString() <<std::endl;
calibrationWorker->saveToFile(filename.toStdString().c_str());
}
} After the if condition with the code As you have a space in your Windows username you will run into this when you save a stereo calibration file. This will be solved in the next release. As a workaround, you can try to save the stereo calibration file directly into the |
Beta Was this translation helpful? Give feedback.
-
I use Win10 and can't save the |
Beta Was this translation helpful? Give feedback.
Think I located the source of the problem. In the file
PupilEXT/src/subwindows/stereoCameraCalibrationView.cpp
(line 228 to 243), the calibration file will be saved with the following method: