Write image parameters¶
The SDK provides a tool img_params_writer
for writing image parameters. For details, read tools/README.md .
For getting image parameters, please read Get image calibration parameters. This is used to calculate the deviation.
Reference commands:
./tools/_output/bin/writer/img_params_writer tools/writer/config/img.params
# Windows
.\tools\_output\bin\writer\img_params_writer.bat tools\writer\config\img.params
Warning
Please don’t override parameters, you can use save_all_infos
to backup parameters.
And, tools/writer/config/S1030/img.params.pinhole is the path of S1030 pihole parameters file. If you calibrated parameters yourself, you can edit it and run previous commands to write them into the devices.
Tip
The image calibration parameters of S2100/S210A are in tools/writer/config/S210A
The image calibration parameters of S1030 are in tools/writer/config/S1030
Tip
You can also write into devices with SN*.conf
provided by old SDK.