bytedeco / procamcalib

A User-Friendly Method to Calibrate Cameras and Projector-Camera Systems
GNU General Public License v2.0
74 stars 26 forks source link

Save the captured images and feed them to calibration #18

Closed andrewsunst closed 6 years ago

andrewsunst commented 6 years ago

I am trying to do some comparison and I need to take photos of the same positions. Since the procamcalib grab the frames from realsense and convert it into iplimages to do the calibration, I tried the methods cvsaveimage and imwrite (which is in the document of javacv) method but they will crash the jre with the core dump error. Would you offer some help about how to save the captured images and later feed them back to the procamcalib to do the calibration?

saudet commented 6 years ago

Probably easier to just capture a video file. Check the sample code in the README.md file of JavaCV: https://github.com/bytedeco/javacv