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
153 stars 39 forks source link

Running issue with `detectCheckerboardPoints()` #11

Closed pjessesco closed 3 years ago

pjessesco commented 3 years ago

Hi, thanks for sharing this work.

I'm trying to run the code in my environment.

I could load the included data, however I get a error after click Calibrate button, which says

Function 'detectCheckerboardPoints' is not defined with uint8 parameter type.

in Calibration.getCameraCorners.m.

I checked that readAllImgs returns height * width * 3(channel) * n(number of imgs) data,

disp(size(imCheckerboardSmall))

which is input of detectCheckerboardPoints specified in MATLAB docs.

I have no idea why it does not works... could you give me some advice? Thanks.

pjessesco commented 3 years ago

I had to installed Computer Vision Toolbox addon.. thanks.