Settings (2D + 3D)
Capture settings for the combined 2D + 3D pipeline. For guidance on choosing these settings, see 相机设置.
The settings are grouped as follows:
Settings serialize to YAML; the Fast consumer-goods preset for the Zivid 2+ MR130 is shown below as a compact overview of the structure.
Fast consumer-goods preset (Zivid 2+ MR130)
__version__: 27
Settings:
Acquisitions:
- Acquisition:
Aperture: 2.59
Brightness: 2.5
ExposureTime: 2000
Gain: 2
Color:
__version__: 9
Settings2D:
Acquisitions:
- Acquisition:
Aperture: 2.59
Brightness: 2.5
ExposureTime: 1000
Gain: 2
Diagnostics:
Enabled: no
Processing:
Color:
Balance:
Blue: 1
Green: 1
Red: 1
Experimental:
Mode: automatic
Gamma: 1
Sampling:
Color: rgb
Pixel: by2x2
Diagnostics:
Enabled: no
Engine: omni
Processing:
Color:
Balance:
Blue: __not_set__
Green: __not_set__
Red: __not_set__
Experimental:
Mode: __not_set__
Gamma: __not_set__
Filters:
Cluster:
Removal:
Enabled: yes
MaxNeighborDistance: 4.5
MinArea: 550
Experimental:
ContrastDistortion:
Correction:
Enabled: no
Strength: 0
Removal:
Enabled: no
Threshold: 0.4
Hole:
Repair:
Enabled: yes
HoleSize: 0.5
Strictness: 1
Noise:
Removal:
Enabled: yes
Threshold: 2
Repair:
Enabled: yes
Suppression:
Enabled: yes
Outlier:
Removal:
Enabled: yes
Threshold: 10
Reflection:
Removal:
Enabled: yes
Mode: global
Smoothing:
Gaussian:
Enabled: yes
Sigma: 1.5
Resampling:
Mode: upsample2x2
RegionOfInterest:
Box:
Enabled: no
Extents: [-10, 100]
PointA: [0, 0, 0]
PointB: [0, 0, 0]
PointO: [0, 0, 0]
Depth:
Enabled: no
Range: [800, 2000]
Sampling:
Color: __not_set__
Pixel: by4x4
- class Settings(
- acquisitions=None,
- color: Settings2D | None = None,
- engine: str | None = _zivid.Settings.Engine().value,
- diagnostics: Diagnostics | None = None,
- processing: Processing | None = None,
- region_of_interest: RegionOfInterest | None = None,
- sampling: Sampling | None = None,
Settings used when capturing a 3D capture or 2D+3D capture with a Zivid camera.