Thermal Camera SDK and Raw 14-Bit Data: What Integrators Need
Quick answer: a thermal camera SDK should give the host deterministic access to raw frames, temperature data, timestamps and camera controls. If it only opens a viewer or returns a compressed image, the integration will hit a wall.
This guide covers what to ask for in a thermal core SDK, how raw 14-bit data differs from processed video, and how to test the data path before committing to a platform. The same questions apply whether you need a thermal camera data output for a handheld product or a fixed industrial system.
Key takeaways
- Raw 14-bit frames preserve scene information that 8-bit video has already lost.
- UVC is convenient, but it may not expose the full temperature matrix or full control set.
- A useful SDK documents the frame format, timestamp source and error behaviour.
- Test frame rate, latency and host CPU load with the real resolution and interface.
1. What the SDK Should Provide
A thermal core SDK is the contract between the module and the host. At minimum, it should provide:
- Device discovery and connection;
- Frame capture at the specified resolution and format;
- Raw frame access, not only a rendered image;
- Camera controls: integration time, NUC, palette, gain if available;
- Temperature matrix or spot/area outputs for a radiometric module;
- Timestamps and frame counters;
- Error codes and recovery behaviour;
- Working examples for the target OS.
If a feature is not in the SDK, the host cannot use it reliably. Ask for the API reference before the hardware is designed in.
2. Raw 14-Bit vs Processed Video
A thermal detector produces a high-bit-depth signal. The module may output raw 14-bit frames, a linearised temperature matrix, or an 8-bit video stream after AGC and tone mapping.
An 8-bit stream is convenient for display, but it has already thrown away information. If the application needs its own contrast stretch, temperature analysis or AI model, the raw data is the better input.
Ask whether the output is:
- Raw detector counts;
- NUC-corrected counts;
- Radiometrically calibrated temperature;
- 8-bit video or compressed stream.
Each stage changes what the host can do next.
Why bit depth matters at the edge
An edge device may need to detect a small temperature difference against a large background. If the module has already compressed the scene into 8 bits, the low-contrast detail may be gone before the algorithm sees it.
Raw 14-bit data gives the host room to apply its own noise reduction, local contrast or AI model. It also makes the processing reproducible: the same raw frame can be replayed through a new algorithm without recapturing the scene.

3. UVC vs Vendor SDK
UVC is attractive because it works with standard operating-system camera stacks. It is often enough for a video preview, but it may not expose:
- Full 14-bit raw frames;
- Temperature matrix;
- Integration time and NUC controls;
- Frame timestamps at the device level;
- Vendor-specific metadata.
A vendor SDK can expose more, but it adds a driver and platform dependency. The right choice depends on whether the product needs a video stream or a data stream.
Many products use both: UVC for preview and a vendor SDK for configuration and raw capture. Confirm that the two paths can run together without blocking each other.
What UVC can and cannot do
UVC is excellent for a plug-and-play preview. It is not a guarantee of raw data. Depending on the module, the UVC stream may be 8-bit, compressed, cropped or already tone-mapped.
If the product only needs a video image, UVC can simplify the host. If it needs temperature or raw frames, confirm the exact UVC payload and whether a second vendor channel is required.
4. The Temperature Matrix
For a radiometric module, the useful output is often a matrix of temperature values, one per pixel. The host can then run its own alarm, analytics or display logic.
Ask:
- Is the matrix corrected for emissivity and ambient?
- What is the value range and resolution?
- Is it aligned with the raw frame?
- Does it update at the same frame rate?
- What is the metadata per frame?
The ERUSTM64-9 supports spot, area, isotherm and full-screen temperature measurement over a Type-C interface. Confirm the exact matrix format and whether the corrections are applied in the module or by the host.
5. Timestamps, Frame Rate and Host Load
A frame without a timestamp is hard to fuse with other sensors. Ask for the timestamp source, resolution and whether it is generated at exposure, readout or host receipt.
At 640 × 512 and 30 Hz, a 14-bit frame is about 17.5 MB/s before overhead. The host must be able to receive, store and process that stream without dropping frames.
Test with the real resolution, frame rate and SDK. A viewer that runs at 10 fps is not proof that the SDK can deliver 30 fps to your application.
A bandwidth calculation
A 640 × 512 frame at 30 Hz is 9.8 million pixels per second. At 14 bits per pixel, that is about 17.2 MB/s before packet overhead, metadata and buffering.
The host also needs memory bandwidth for processing and display. If the application copies each frame several times, the CPU load can be much higher than the raw number suggests.

6. Bit Depth and Data Format
Fourteen bits gives 16,384 levels. Twelve bits gives 4,096. The difference matters when the scene has low thermal contrast or when the host needs to apply a strong stretch.
Check the container:
- Unpacked 16-bit words with 14 valid bits;
- Packed 14-bit data;
- Little-endian or big-endian byte order;
- Row stride and padding;
- Metadata offset.
A format that is not documented is a support burden. Ask for a sample frame and a parser example.
7. OS, Driver and API
- Which operating systems are supported?
- Is the driver signed for the target OS?
- Is the API C, C++, C# or Python?
- Does it support multiple cameras on one host?
- How are errors and reconnects handled?
- Can the application set integration time and NUC?
- Is there a headless mode?
- What is the licence and redistribution policy?
For an OEM product, the licence and redistribution terms matter as much as the API. A SDK that cannot be shipped with the product is not a solution.
Licence and redistribution
Ask whether the SDK can be redistributed with the product, whether it is per-device or per-company, and whether the licence covers the target operating system. A development licence is not the same as a production licence.
Also ask whether the SDK depends on a proprietary driver that must be installed by the end customer. That can turn a simple product into a support burden.
8. Integration Workflow
- Start with a vendor viewer to confirm the module works.
- Capture raw frames and inspect the histogram and bit depth.
- Verify the frame format and timestamp with a known target.
- Measure host CPU and memory at the target frame rate.
- Implement reconnect and error handling.
- Test with the real lens and the final cable length.
- Run a long-duration soak with the production host.
A minimal acceptance script
Write a small program that opens the device, captures 1,000 frames, records timestamps, checks the frame size and reports dropped frames. Run it on the production host with the production cable.
If the SDK cannot survive that script, it will not survive a customer site. Fix the data path before adding features.

9. Testing the Data Path
- Frame rate at full resolution, measured at the application;
- Dropped-frame count over 30 minutes;
- Glass-to-glass latency from a flashing target;
- Raw frame vs temperature matrix consistency;
- CPU and memory under load;
- Behaviour when the cable is unplugged and reconnected;
- Long-run thermal drift of the host.
A benchmark on a desktop is not an acceptance test. Run it on the product hardware.
10. Common Mistakes
- Assuming UVC gives raw data. It often gives compressed or 8-bit video.
- Ignoring frame format. Packed 14-bit and 16-bit words are not interchangeable.
- No timestamp source. Sensor fusion and recording need a common time base.
- Testing with a viewer. The viewer may not expose the production data path.
- No reconnect logic. A USB device can drop and re-enumerate.
- Ignoring licence terms. A SDK that cannot ship is not usable.
11. Frequently Asked Questions
What does raw 14-bit mean in a thermal camera?
It means each pixel is represented with 14 bits of signal, giving 16,384 levels before tone mapping or compression. It preserves more low-contrast information than 8-bit video.
Can I use UVC instead of a vendor SDK?
For a preview, often yes. For raw 14-bit frames, temperature data or advanced controls, a vendor SDK is usually required. Check what the UVC stream actually contains.
What frame rate can I expect?
It depends on the module, interface and host. The ERUSTM64-9 is specified at 30 Hz; the host must sustain that rate with the production resolution and SDK.
Does the SDK provide temperature values?
Only if the module is radiometric and the SDK exposes the temperature matrix or spot/area results. Confirm whether corrections are applied in the module or by the host.
What should I ask a supplier before integration?
Ask for the API reference, sample code, frame format, timestamp source, licence terms and a real frame captured at the production resolution and frame rate.
12. Conclusion
The SDK is not an afterthought. It determines whether the host can access raw data, apply its own processing and ship a reliable product. Ask for the frame format, timestamp, API and licence before the hardware design is frozen.
For a compact radiometric module, review the ERUSTM64-9, or read the interface guide and frame rate and latency guide.
Related reading: Radiometric Thermal Camera Modules, Thermal Camera Frame Rate and Latency and OEM vs ODM Thermal Camera Modules.
