I'm looking for solution to 访问摄像机的热数据 . well i used OpenCV 但没有更多的数据来处理,如温度。我尝试了关于HikVision摄像机的可用库,并为此在网上冲浪,但我无法成功。
我的第二个解决方案是将RGB转换为温度,但我不知道这种过程该怎么做。我还知道设备温度的范围是20到150度之间。
looking for something like this:
# cam model: hikvision DS-2TD2615-10
import cv2
import hikvision api library for example
thermal = cv2.VideoCapture()
thermal.open("rtsp://""user:pass@ip:port/Streaming/channels/202/")
ret, frame = thermal.read()
while True:
ret, frame = thermal.read()
temp_data = api.read_temperature(frame) # -> array or excel file
cv2.imshow('frame', frame)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
thermal.release()
cv2.destroyAllWindows()
我的视频输入类似于这张照片,例如,我想通过点击它来发现鼻子有多热。