BingyaoHuang / single-shot-pro-cam-calib

[TASE & ISMAR'18] A Fast and Flexible Projector-Camera Calibration System
http://vision.cs.stonybrook.edu/~bingyao/pub/calibration_TASE
Other
161 stars 42 forks source link

Error until calibration step #4

Closed guangyuhe closed 4 years ago

guangyuhe commented 5 years ago

Hi,

Before the step of calibration, every thing is fine. But when I click the calibration, the error appears:

Undefined variable "cv" or class "cv.FileStorage".

Error in Calibration.loadCalibInfo (line 29) calibInfo = cv.FileStorage(fullfile(calibPath, 'calib-info.yml'));

Error in calibrateGUI (line 33) calibInfo = Calibration.loadCalibInfo(fullfile(dataRoot, dataName)); Undefined variable "cv" or class "cv.FileStorage".

Error in Calibration.loadCalibInfo (line 29) calibInfo = cv.FileStorage(fullfile(calibPath, 'calib-info.yml'));

Error in calibrateGUI (line 33) calibInfo = Calibration.loadCalibInfo(fullfile(dataRoot, dataName)); Undefined variable "cv" or class "cv.FileStorage".

Error in Calibration.loadCalibInfo (line 29) calibInfo = cv.FileStorage(fullfile(calibPath, 'calib-info.yml'));

Error in calibrateGUI (line 33) calibInfo = Calibration.loadCalibInfo(fullfile(dataRoot, dataName)); Undefined variable "cv" or class "cv.FileStorage".

Error in Calibration.loadCalibInfo (line 29) calibInfo = cv.FileStorage(fullfile(calibPath, 'calib-info.yml'));

Error in calibrateGUI (line 33) calibInfo = Calibration.loadCalibInfo(fullfile(dataRoot, dataName));

Please advise. Thanks

guangyuhe commented 5 years ago

The problem is fixed. Thanks anyway!!!

BingyaoHuang commented 5 years ago

Good to hear that. Is this due to mexopencv installation?

guangyuhe commented 5 years ago

Yes, it is. After the installation, I need to add the whole mexopencv folder to the path in Matlab. Thanks

Sent from my iPhone

On Mar 25, 2019, at 5:19 PM, Bingyao Huang notifications@github.com wrote:

Good to hear that. Is this due to mexopencv installation?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

LuShixong commented 2 years ago

so i must install the mexopencv?

BingyaoHuang commented 2 years ago

@LuShixong Yes.