logoalt Hacker News

globalnode • today at 6:18 AM • 3 replies • view on HN

can this be done manually by setting constants till the images look rectified? last time i played with opencv for this it didnt do a very good job at automatically calculating the k's. im hoping an algo comes out that lets me do disparity without calibration one day :)


Replies

throwaway219450 • today at 6:29 AM

You can use structure from motion for this. Walk around and capture some video. It’s the same way that drone photogrammetry works, ie bundle adjustment. It’ll give you the intrinsics at least.

But with a high res sensor, even flex in the PCB will invalidate the calibration. Only takes a few microns for a pixel to be in the wrong place.

michaelt • today at 10:00 AM

While I wouldn't say opencv makes it simple they do provide functions like findChessboardCorners, CharucoDetector, stereoCalibrate - even code to generate printable calibration patterns.

And these days, you can get an LLM to stitch those functions together

choppaface • today at 7:49 AM

lots of “world models” are pretty good at “stereo with zero calibration”

but if you want to calibrate, try printing out a board https://calib.io/pages/camera-calibration-pattern-generator