Skip to content

Saving the calibration file #6

Answered by BZandi
Rtms1984 asked this question in Q&A
Aug 6, 2021 · 4 comments · 11 replies
Discussion options

You must be logged in to vote

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:

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: "<< f…

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@Rtms1984
Comment options

Comment options

You must be logged in to vote
8 replies
@BZandi
Comment options

@Rtms1984
Comment options

@BZandi
Comment options

@Rtms1984
Comment options

@BZandi
Comment options

Comment options

You must be logged in to vote
2 replies
@Rtms1984
Comment options

@QJieWang
Comment options

Answer selected by Rtms1984
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants