nikolaseu / neuvision

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

chose one of: Z3D::ZStereoSLSPlugin #60

Open TON14 opened 3 years ago

TON14 commented 3 years ago

how to solve it? z3d.zstructuredlight.zstructuredlightsystemprovider: structured light type not found: "" (available types: "Z3D::ZStereoSLSPlugin" )

answer: open file Z3DScanner.ini [StructuredLightSystem] Type="Z3D::ZStereoSLSPlugin"

but i have new error z3d.zstructuredlight.slsystems.stereo.zstereoslsplugin: mode not found: "" (available modes: "DualCamera, Projector+Camera" )

need manual how run software and Z3DScanner.ini example

nikolaseu commented 3 years ago

You need something like this:

[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

The different plugins have different options/params, for example the camera here is simulated so it has a Folder. For Allied Vision cameras you'll need to set the DeviceID (see code), etc.

You'll have to change/add whatever is necessary for your setup.