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

Here are some problem about "Objective function is returning undefined values at initial point. lsqnonlin cannot continue." #21

Closed fare129 closed 3 months ago

fare129 commented 3 months ago

Hello, thank you very much for the program, now I ran into a problem, is that I think I took the photo is very clear, why always encounter the error "Objective function is returning undefined values at initial point. lsqnonlin cannot continue“. And, according to the debug result, the error occurs during the process of fixing the point. How to solve this problem? Very much looking forward to your reply. 1712116468643 1712116493211 1712116529132

BingyaoHuang commented 3 months ago

The color grid is not well decoded, the blue and red stripes are washed out. Try adjusting your projector and camera color settings.

fare129 commented 3 months ago

Thanks for your respond, and my projector and camera both have a resolution of 1280 X 720.. Could it be a resolution issue, please?

fare129 commented 3 months ago

The problem has been solved, firstly because the sports camera used, with wide angle shots, results in poor image quality. Secondly because the projector can't be too close to the calibration plate, otherwise the stripes are not clear from each other. After changing the camera and distancing the projector, the problem was solved. Thanks again.