19a开发板
测温
发射率设置
设置为121a,不符合规则,设置为0
读取
[E] [http.go:30] GetImageTarget
获取所有温度的接口(包括整帧,点、线、区域)
获取热成像界面上已经使能点线面区域整帧
P1 L1 R1 SR1
添加一个type字段
"Type": 0, //0-整帧;1-点;2-线;3-区域
json格式
[
{
"Enable": true,
"Type": 0, //0-整帧;1-点;2-线;3-区域
"ID": 0,
"MaxTempPoint": {
"X": 0,
"Y": 0
},
"MinTempPoint": {
"X": 0,
"Y": 0
},
"TempAvg": 0,
"TempCenter": 0,
"TempMax": 0,
"TempMin": 0,
"TempRangeMax": 0,
"TempRangeMin": 0,
"Alarm": false //是否触发报警
}
]
2021/09/30 09:16:48 GetTempPointTemp 获取测温点温度值
2021/09/30 09:16:48 [{true 1 279.5 279.5 279.5 279.5 {2968 7597} {2968 7597} 0 0} {true 2 278.7 278.7 278.7 278.7 {2718 1931} {2718 1931} 0 0} {true 3 277.7 277.7 277.7 277.7 {3767 4143} {3767 4143} 0 0} {true 4 278.4 278.4 278.4 278.4 {3031 2066} {3031 2066} 0 0} {false 5 0 0 0 0 {0 0} {0 0} 0 0} {false 6 0 0 0 0 {0 0} {0 0} 0 0} {false 7 0 0 0 0 {0 0} {0 0} 0 0} {false 8 0 0 0 0 {0 0} {0 0} 0 0}]
2021/09/30 09:16:48 GetTempLineTemp 获取测温线温度值
2021/09/30 09:16:48 [{false 1 0 0 0 0 {0 0} {0 0} 0 0} {false 2 0 0 0 0 {0 0} {0 0} 0 0} {false 3 0 0 0 0 {0 0} {0 0} 0 0} {false 4 0 0 0 0 {0 0} {0 0} 0 0} {false 5 0 0 0 0 {0 0} {0 0} 0 0} {false 6 0 0 0 0 {0 0} {0 0} 0 0} {false 7 0 0 0 0 {0 0} {0 0} 0 0} {false 8 0 0 0 0 {0 0} {0 0} 0 0}]