BingyaoHuang / single-shot-pro-cam-calib

[TASE & ISMAR'18] A Fast and Flexible Projector-Camera Calibration System

Home Page:http://vision.cs.stonybrook.edu/~bingyao/pub/calibration_TASE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running issue with `detectCheckerboardPoints()`

pjessesco opened this issue · comments

commented

Hi, thanks for sharing this work.

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

  • Windows 10
  • OpenCV 3.3 (built with VS 2015)
  • mexopencv 3.3
  • MATLAB R2020b

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.

commented

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