46 lines
2.1 KiB
XML
46 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<TunnelChannelConfig>
|
||
<!-- 3D相机列表(VzNLSDK) -->
|
||
<Cameras3D>
|
||
<Camera name="3D相机1" ip="192.168.1.100"/>
|
||
</Cameras3D>
|
||
|
||
<!-- 海康相机列表(HCNetSDK) -->
|
||
<HikCameras/>
|
||
|
||
<!-- 其他设备列表 -->
|
||
<Devices>
|
||
</Devices>
|
||
|
||
<!-- 算法参数 -->
|
||
<AlgorithmParams>
|
||
<!-- 隧道检测参数 -->
|
||
<TunnelParam threshold="50.0" minArea="1000.0" maxArea="100000.0" enableAlarm="true"/>
|
||
|
||
<!-- 通道间距测量算法参数 -->
|
||
<ChannelSpaceParam horizonScan="true">
|
||
<CornerParam minEndingGap="20.0" minEndingGap_z="50.0" scale="15.0" cornerTh="45.0" jumpCornerTh_1="15.0" jumpCornerTh_2="60.0"/>
|
||
<OutlierFilterParam continuityTh="20.0" outlierTh="5.0"/>
|
||
<TreeGrowParam yDeviationMax="20.0" zDeviationMax="50.0" maxLineSkipNum="10" maxSkipDistance="20.0" minLTypeTreeLen="100.0" minVTypeTreeLen="100.0"/>
|
||
<ChannelParam channelWidthMin="5.0" channelWidthMax="30.0" channelSpaceMin="300.0" channelSpaceMax="800.0"/>
|
||
</ChannelSpaceParam>
|
||
|
||
<!-- 平面校准参数(多相机支持) -->
|
||
<PlaneCalibParams>
|
||
<CameraCalibParam cameraIndex="1" cameraName="3D相机1" isCalibrated="false" planeHeight="0"
|
||
planeCalib_00="1" planeCalib_01="0" planeCalib_02="0"
|
||
planeCalib_10="0" planeCalib_11="1" planeCalib_12="0"
|
||
planeCalib_20="0" planeCalib_21="0" planeCalib_22="1"
|
||
invRMatrix_00="1" invRMatrix_01="0" invRMatrix_02="0"
|
||
invRMatrix_10="0" invRMatrix_11="1" invRMatrix_12="0"
|
||
invRMatrix_20="0" invRMatrix_21="0" invRMatrix_22="1"/>
|
||
</PlaneCalibParams>
|
||
</AlgorithmParams>
|
||
|
||
<!-- 调试参数 -->
|
||
<DebugParam enableDebug="false" savePointCloud="false" saveDebugImage="false" printDetailLog="false" debugOutputPath="./debug"/>
|
||
|
||
<!-- 串口配置 -->
|
||
<SerialConfig portName="COM1" baudRate="9600" dataBits="8" stopBits="1" parity="0" flowControl="0" enabled="false"/>
|
||
</TunnelChannelConfig>
|