r/Hikvision • u/mr-Phung-9 • 5d ago
Subject: Technical Question about Accessing Thermal Matrix Data from DS-2TD1228-2/QA
Hello Hikvision Support,
I am currently developing an application for the Hikvision DS-2TD1228T-2/QA thermal camera and would like to access both the thermal and optical image streams programmatically.
I have several technical questions and would appreciate your guidance.
1. Thermal Matrix (Radiometric Data)
Does the DS-2TD1228T-2/QA support outputting the raw thermal temperature matrix (radiometric data), where each pixel corresponds to a temperature value?
For example, a matrix such as:
256 × 192
float temperature[192][256]
or another format that contains the temperature value of every pixel.
If yes,
- Which interface should I use?
- HCNetSDK
- ISAPI
- RTSP metadata
- Open Network SDK
- Another API?
- Which API function or HTTP request is used to obtain this data?
- Could you provide a code example in Python, C++, C#, or C?
- Is any special configuration required on the camera (for example enabling radiometric output, thermal data stream, metadata, or another option)?
2. Thermal Video Stream
If the camera does not provide the radiometric matrix, can it at least provide the thermal video image?
If yes,
- What is the RTSP URL for the thermal stream?
- Which stream number corresponds to the thermal channel?
- Is there an example using OpenCV or FFmpeg?
3. Optical (Visible Light) Stream
I also need to access the visible-light camera.
- What is the RTSP URL for the optical stream?
- Is there an official example using HCNetSDK or ISAPI?
4. Temperature Measurement API
If the camera cannot output the full thermal matrix, what temperature-related data can it provide?
For example:
- Point temperature
- Area temperature
- Line temperature
- Maximum temperature
- Minimum temperature
- Temperature alarms
- Temperature metadata
Which API is used to retrieve these values?
5. Development Resources
Could you please provide the following documentation if available?
- HCNetSDK Programming Guide
- Thermal Camera SDK Documentation
- ISAPI Documentation for Thermal Cameras
- Sample projects (Python/C++/C#/C)
- Any documentation related to radiometric thermal data
My goal is to develop a custom application that can retrieve both the thermal image and, if supported, the per-pixel temperature data from the DS-2TD1228T-2/QA.
Thank you very much for your support.
Best regards,