Ask Your Question

Revision history [back]

Thanks for the help! Right now i fixed it like this:

cv::FileStorage fs;
try{
    fs.open(filePath, cv::FileStorage::READ);
}catch(cv::Exception ex)
{
    return 1;
}