Triggering the internal Non-Uniformity Correction (NUC) shutter mechanism.
| Issue | Technical Explanation | |-------|----------------------| | | The SDK uses Hikvision’s error codes (e.g., 7 = connect fail, 8 = wrong password). But HIKMICRO often returns 1 (success) even with invalid credentials if the device is in "anonymous access" mode – a bug. | | No 64-bit Linux support | Many older SDK versions (pre-2022) only provide 32-bit ARM libhcnetsdk.so . Requires multiarch or cross-compilation. | | Raw data only available on channel 1 | Thermal sensors are usually channel 1. Channel 2 is the visual camera (if present). Trying to get raw data from channel 2 yields a grey/black frame. | | Temperature range lock | Some devices limit temperature output to -20°C to +150°C regardless of sensor capability (e.g., 550°C capable). SDK cannot override – firmware enforced. | | Memory leak in preview callback | Known issue: The fRealDataCallBack must free the pBuffer manually, but documentation is ambiguous. Use NET_DVR_StopRealPlay() to clean up. |
Compatibility with ARM-based platforms like Raspberry Pi , NVIDIA Jetson , and Odroid . 🚀 Use Cases for Developers
NET_DVR_USER_LOGIN_INFO login = 0; strcpy(login.sDeviceAddress, "192.168.1.100"); login.wPort = 8000; strcpy(login.sUserName, "admin"); strcpy(login.sPassword, "password"); hikmicro sdk
Enhanced night vision systems that distinguish between humans and animals based on heat signatures. Conclusion
Integrating thermal capabilities can transform standard inspections into data-driven operations: 🏭 Industrial Automation
Access to raw temperature data (Radiometric data) for analysis, which is critical for industrial thermography and electrical inspections. Alarm & Event Handling: | | No 64-bit Linux support | Many
Remotely configure device settings such as focus, gain, level, and span, as well as shutter calibration.
This article provides an in-depth exploration of the , covering its features, applications, supported platforms, and how to get started with thermal imaging integration. What is the HIKMICRO SDK?
Extract precise temperature data for individual pixels or pre-defined regions of interest (ROI). Channel 2 is the visual camera (if present)
Ensure your HIKMICRO device (like a handheld B-series or a fixed automation camera) is connected via USB or Network.
The SDK supports advanced measurement tools, allowing developers to draw points, lines, or regions of interest (ROIs) on the video feed to calculate: Maximum temperature Minimum temperature Average temperature 3. Comprehensive Device Control The SDK allows for full programmatic control, including:
Fine-tuning parameters for accurate measurements on different materials.
Call the SDK initialization function to allocate memory pools and set up internal networking stacks.