2025-09-14 14:51:38 +08:00

38 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<BeltTearingConfig>
<!-- 客户端连接服务端的配置 -->
<ClientServers>
<Server name="主服务器" ip="192.168.1.100" port="8080" />
<Server name="备用服务器1" ip="192.168.1.101" port="8081" />
<Server name="备用服务器2" ip="192.168.1.102" port="8082" />
</ClientServers>
<!-- 本地服务端配置 -->
<LocalServerConfig>
<ServerPort port="5900" />
</LocalServerConfig>
<!-- 算法参数 -->
<AlgorithmParams>
<!-- 皮带撕裂检测参数 -->
<BeltTearingParam TearThreshold="50.0" MinTearLength="100.0" MaxTearWidth="30.0" />
<!-- 图像处理参数 -->
<ImageProcessingParam BlurSize="5" CannyThreshold1="50" CannyThreshold2="150" MorphologySize="3" />
<!-- 监控参数 -->
<MonitoringParam CheckInterval="1000" AlertThreshold="3" MaxHistorySize="100" />
</AlgorithmParams>
<!-- 项目类型 -->
<ProjectType type="BeltTearing" />
<!-- 调试参数 -->
<DebugParam
enableDebug="false"
saveDebugImage="false"
printDetailLog="false"
debugOutputPath="./debug" />
</BeltTearingConfig>