Page 1 of 1
camera calibration for stereo photo
Posted: Fri Oct 04, 2019 3:17 pm
Would it be possible to calibrate the camera before taking photos via http: //stereopi.local/ so that the images are already aligned ready to print?
it would be nice if you could add this feature to the stereopi image
Re: camera calibration for stereo photo
Posted: Fri Oct 04, 2019 6:35 pm
Doing it automatically is not very simple, and you have to have a valid calibration of your system beforehand.
If you want to do it yourself, you can get inspiration from the code of the stereomaton: https://github.com/haum/stereomaton/blo ... eomaton.py
Lines 209 to 222 do the alignment, line 240 does concatenation and saving.
The problem is to find the Hl and Hr matrices. You can probably find them with the opencv calibration tool crafted by realizator although I did not checked.