How to find the pixel coordinates of the corners of a square pattern?

It may not be programming related, but perhaps programmers will be in a better position to answer it.

To calibrate the camera, I have an 8 x 8 square sample printed on a piece of paper. I need to manually enter these coordinates into a text file. The software then selects it from there and calculates the calibration parameters.

Is there a script or some software that I can run on these images and get the pixel coordinates from the four corners of each of the 64 squares?

alt text

+3
source share
4 answers

(.. - ) cvFindChessboardCorners(). API OpenCV O'Reilly OpenCV Book . OpenCV , .

+5

:

  • .
  • SobelX . . , . image1.
  • SobelY . . , . image2.
  • make (image1 xor image2). , .

, .

+2

, , , , ARToolKit, . , , , , .

+1

ARToolKit ( ), OpenCV .

0

Source: https://habr.com/ru/post/1778686/


All Articles