38 lines
1.5 KiB
XML
38 lines
1.5 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
|
<BinocularMarkConfig>
|
|||
|
|
<!-- TCP服务器配置 -->
|
|||
|
|
<ServerConfig port="5901" />
|
|||
|
|
|
|||
|
|
<!-- 相机配置 -->
|
|||
|
|
<Cameras>
|
|||
|
|
<Camera index="0" name="LeftCamera" exposureTime="10000.0" gain="1.0" />
|
|||
|
|
<Camera index="1" name="RightCamera" exposureTime="10000.0" gain="1.0" />
|
|||
|
|
</Cameras>
|
|||
|
|
|
|||
|
|
<!-- 双目标定文件路径(必填项)
|
|||
|
|
相对路径:相对于config.xml所在目录
|
|||
|
|
绝对路径:完整路径
|
|||
|
|
示例:../Calib/Mark_13度/StereoCamera.xml -->
|
|||
|
|
<CalibrationFile path="./StereoCamera.xml" />
|
|||
|
|
|
|||
|
|
<!-- Mark板参数
|
|||
|
|
patternWidth/patternHeight: Mark板行列数
|
|||
|
|
checkerSize: 棋盘格尺寸(mm)
|
|||
|
|
markerSize: ArUco标记尺寸(mm)
|
|||
|
|
dictType: ArUco字典类型(1=DICT_6x6) -->
|
|||
|
|
<MarkInfo patternWidth="3" patternHeight="3" checkerSize="60.0" markerSize="45.0" dictType="1" />
|
|||
|
|
|
|||
|
|
<!-- Board配置
|
|||
|
|
totalBoardNum: Board总数
|
|||
|
|
boardIdInterval: Board ID间隔
|
|||
|
|
boardCharucoIdNum: 每个Board的Charuco角点数 -->
|
|||
|
|
<BoardInfo totalBoardNum="1" boardIdInterval="8" boardCharucoIdNum="4" />
|
|||
|
|
|
|||
|
|
<!-- 算法参数
|
|||
|
|
disparityOffset: 视差偏移(用于微调深度计算) -->
|
|||
|
|
<AlgorithmParams disparityOffset="0.0" />
|
|||
|
|
|
|||
|
|
<!-- 调试参数 -->
|
|||
|
|
<DebugParam enableDebug="true" saveDebugImage="false" printDetailLog="true" debugOutputPath="" />
|
|||
|
|
</BinocularMarkConfig>
|