Camera Calibration with OpenCV

calibrateCamera 함수에 세팅할 objpoints, imgpoints를 데이터를 축적하는 방법이 나온다.

격자 무늬를 프린트하고 내 카메라로 직접 테스트해볼 수 있다. 결국은 calibrateCamera를 통해서 변환 상수를 얻어내는 것이 목표이다.

If you're up for a challenge, go ahead and try these steps on your own camera images. Just print out achessboard pattern, stick it to a flat surface, and take 20 or 30 pictures of it. Make sure to take pictures of the pattern over the entire field of view of your camera, particularly near the edges.

To extract object points and image points you can check out the Jupyter notebook inthis repository. If you're following along with the code in the notebook, be sure you set the right size for your chessboard, the link above is to a 9 x 6 pattern, while before we were using an 8 x 6.

Undistort and Transform Perspective 코드

https://classroom.udacity.com/nanodegrees/nd013/parts/fbf77062-5703-404e-b60c-95b78b2f3f9e/modules/2b62a1c3-e151-4a0e-b6b6-e424fa46ceab/lessons/096009a1-3d76-4290-92f3-055961019d5e/concepts/ae58b4d0-b909-4f4b-9332-67d80a1b4029

Undistort and Transform Perspective Quiz

다음의 코드를 적용시켰더니 "Oops! looks like you got a different transform matrix than I was expecting..." 에러 발생

https://github.com/udacity/sdc-issue-reports/issues/364 참고

results matching ""

    No results matching ""