57 lines
1.8 KiB
XML
57 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ScrewPositionConfig>
|
|
<!-- 相机配置 -->
|
|
<Cameras>
|
|
<Camera name="Camera1" ip="192.168.1.100" index="1"/>
|
|
</Cameras>
|
|
|
|
<!-- 调试参数 -->
|
|
<Debug enableDebug="true" saveDebugImage="false" savePointCloud="false" printDetailLog="true" debugOutputPath=""/>
|
|
|
|
<!-- 串口配置 -->
|
|
<Serial portName="COM6" baudRate="115200" dataBits="8" stopBits="1" parity="0" flowControl="0" enabled="false"/>
|
|
|
|
<!-- TCP端口 -->
|
|
<TCP port="5020"/>
|
|
|
|
<!-- 螺杆检测参数 -->
|
|
<ScrewParam>
|
|
<RodDiameter>10.0</RodDiameter>
|
|
<IsHorizonScan>true</IsHorizonScan>
|
|
</ScrewParam>
|
|
|
|
<!-- 角点检测参数 -->
|
|
<CornerParam>
|
|
<MinEndingGap>20.0</MinEndingGap>
|
|
<MinEndingGapZ>20.0</MinEndingGapZ>
|
|
<Scale>50.0</Scale>
|
|
<CornerTh>60.0</CornerTh>
|
|
<JumpCornerTh1>10.0</JumpCornerTh1>
|
|
<JumpCornerTh2>60.0</JumpCornerTh2>
|
|
</CornerParam>
|
|
|
|
<!-- 离群点滤波参数 -->
|
|
<FilterParam>
|
|
<MeanK>20.0</MeanK>
|
|
<StddevMul>5.0</StddevMul>
|
|
</FilterParam>
|
|
|
|
<!-- 区域生长参数 -->
|
|
<GrowParam>
|
|
<YDeviationMax>10.0</YDeviationMax>
|
|
<ZDeviationMax>10.0</ZDeviationMax>
|
|
<MaxLineSkipNum>10</MaxLineSkipNum>
|
|
<MaxSkipDistance>10.0</MaxSkipDistance>
|
|
<MinLTypeTreeLen>100.0</MinLTypeTreeLen>
|
|
<MinVTypeTreeLen>100.0</MinVTypeTreeLen>
|
|
</GrowParam>
|
|
|
|
<!-- 平面校准参数 -->
|
|
<CalibrationConfig id="1">
|
|
<PlaneHeight>-1.0</PlaneHeight>
|
|
<IsCalibrated>false</IsCalibrated>
|
|
<PlaneCalib>1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0</PlaneCalib>
|
|
<InvRMatrix>1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0</InvRMatrix>
|
|
</CalibrationConfig>
|
|
</ScrewPositionConfig>
|