OpenCV - findChessboardCorners “occasionally” fails when detecting high resolution image?

无人久伴 提交于 2019-12-12 05:12:07

问题


First of all, I understand this question has been asked several times at here.

FindChessboardCorners cannot detect chessboard on very large images by long focal length lens

Opencv corners detection for High resolution images

However, my situation is a little bit different.

My first experiment is retrieving sequential images of 3264 x 2448 from a Webcam which supports resolution this high, and uses findChessboardCorners to detect the corners on a pattern I placed.

Gladly it works! So I move to next experiment.(See success cases below, I cropped them)

This time I try to project a pattern from a projector of my own to a clean board and detect it, Sadly I failed at here.(Example below, 2592 x 1944)

The two experiments retrieves similar images(I think so), but how come one succeeds and the other one won't? Especially the succeed one has the highest resolution.

I also tried adjust the size of the pattern that projector projects, didn't work.

Adjust the distance of the board, didn't work.

Adjust the camera settings, from lighter to darker, didn't work.

By the way, I suppose the resolution I choose affects the camera intrinsic parameters, so "resize" the image shouldn't be a good idea right? Since I require parameters under high resolution.

来源:https://stackoverflow.com/questions/33918819/opencv-findchessboardcorners-occasionally-fails-when-detecting-high-resoluti

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!