nikolaseu / neuvision

Structured Light based 3D scanner
GNU General Public License v3.0
287 stars 81 forks source link

Instructions for setup are needed #64

Open vertexodessa opened 3 years ago

vertexodessa commented 3 years ago

hi @nikolaseu Nikolas, you are doing a great job! I am trying to set up the project. It's not clear how to adjust all the configs properly. Is there or planning any manual for config files? For example, how to calibrate Camera+Projector config - especially the projector part Or how to set up Dual Camera config?

Thank you! Again, you are doing a great job, I really appreciate it!

vertexodessa commented 3 years ago

In #60 there is sample config for two cameras

[StructuredLightSystem] Type=Z3D::ZStereoSLSPlugin Mode=DualCamera Cameras/Left/Type=Z3D::ZSimulatedCameraPlugin Cameras/Left/Name=Left Cameras/Left/Folder=../sample/0 Cameras/Right/Type=Z3D::ZSimulatedCameraPlugin Cameras/Right/Name=Right Cameras/Right/Folder=../sample/1 StereoCalibration/Type=Pinhole StereoCalibration/ConfigFile=../calib/20180110181159.multicameracalib.yml PatternProjection/Type=Z3D::ZBinaryPatternProjectionPlugin

but it's not clear how to get StereoCalibration/ConfigFile -- looks like files produced by slcalibrate are not compatible.

vertexodessa commented 3 years ago

After a bit of reverse-engineering I was able to start multi camera calibration with following config file (Z3DMultiCameraCalibration.ini)

[Left] Type=Z3D::ZSimulatedCameraPlugin Name=Left Folder=./left_calib [Right] Type=Z3D::ZSimulatedCameraPlugin Name=Right Folder=./right_calib

it's also not convenient to switch images in camera view, you have to type next image name manually after pressing "Camera Settings"

nikolaseu commented 3 years ago

It should be possible to "load a session" (there's a button in the bottom left) with all the pictures. The simulated camera was not made for this (it's not be necessary to change images manually when using it for what it was made: a simulated scan in the scanner app)