Why Does a Thermal Camera Image Freeze or Lag?
A thermal camera that freezes, stutters or lags is not always a camera problem. The fault can be in the detector timing, the interface, the host driver, the application buffer or the display. Replacing the camera without isolating the stage often produces the same symptom with a new module.
This guide gives a practical diagnostic order for “thermal camera image freeze” and “thermal camera lag”. It separates frame rate from latency, shows where each failure usually occurs, and lists the measurements that identify the bottleneck.
Quick answer: Freeze is usually a stopped stream, a dropped frame or a host buffer underrun. Lag is a delay between the real scene and the displayed frame. Check the sensor and exposure first, then the interface bandwidth and cable, then the host driver and buffer, then encoding and display. Measure glass-to-glass latency and frame intervals, not just the datasheet frame rate.
1. Freeze, Stutter and Lag Are Different
| Symptom | What it usually means |
|---|---|
| Freeze | The stream stops, the last frame is held, or the app stops requesting frames |
| Stutter | Frames arrive in bursts or are dropped periodically |
| Lag | Every frame is delayed by a similar amount; the stream is smooth |
| Tearing | Parts of two frames are shown together, often a display or buffer issue |
First classify the symptom. A freeze with a stable last image points to a stopped stream; a stutter with a moving image points to timing or bandwidth; a constant delay points to pipeline latency.
2. Start at the Sensor and Exposure
Before blaming the interface, confirm the camera is producing frames:
- Does the frame counter increment in the SDK?
- Does the camera output a test pattern or timestamp?
- Does the freeze coincide with a shutter or NUC cycle?
- Is the exposure time longer than the frame interval?
- Does the camera overheat before the freeze?
A long exposure in a low-light scene can reduce the effective frame rate. A shutter-based NUC can also interrupt the stream briefly. If the freeze happens at a regular interval, suspect a periodic camera event before the host.
For timing background, see Thermal Camera Frame Rate and Latency.

3. Check the Link and Bandwidth
A 640×512, 16-bit, 30 fps stream is about 157 Mbit/s before overhead; a 1280×1024 stream is about 629 Mbit/s. USB 2.0 may carry the smaller stream, but not the larger one at full rate.
Common link problems:
- Resolution or frame rate exceeds the negotiated interface rate;
- USB hub, extension cable or poor connector causes renegotiation;
- MIPI lane count or clock is wrong;
- LVDS/BT.656 cable is too long or poorly shielded;
- Compression or packet loss causes dropped frames.
Test with a shorter, known-good cable and a direct host port. If the freeze disappears, the link or cable is the cause. For the data-rate calculation, see Thermal Camera Interface Bandwidth.
4. Host, Driver and Buffer
If the camera stream is stable but the application freezes, the host path is suspect:
- Driver version and OS compatibility;
- USB host controller sharing with other devices;
- Frame buffer size and queue depth;
- Blocking calls on the capture thread;
- CPU or GPU load causing missed callbacks;
- Memory leaks or unbounded queues.
A host that cannot finish processing one frame before the next arrives will eventually drop or hold frames. Measure the capture callback interval and the processing time per frame. If processing time exceeds the frame interval, the pipeline is undersized.
For the SDK side, see Thermal Camera SDK Integration and Thermal Camera SDK and Raw 14-Bit Data.

5. Encoding, Display and Recording
If the raw stream is clean but the displayed or recorded video freezes, check the display path:
- Hardware or software H.264/H.265 encoder load;
- Display refresh rate and VSync;
- Browser or UI thread blocking;
- Recording disk write speed;
- Network stream packet loss.
A camera can be perfectly timed and still look frozen because the viewer is dropping frames. Test the raw stream in a minimal viewer before debugging the full application.
6. Measure Glass-to-Glass Latency
Use a timer or a flashing target in the scene, capture the display and the real target in the same camera, and measure the offset. Repeat at several frame rates and resolutions.
- Display a millisecond timer or LED pulse.
- Record the real target and the thermal display together.
- Measure the delay across 20–30 frames.
- Report average, maximum and jitter.
“30 fps” means a new frame every 33 ms; it does not mean 33 ms latency. Buffering, encoding and display can add several frames.
7. Diagnostic Table
| Observation | Likely stage | Next check |
|---|---|---|
| Frame counter stops | Camera or link | Test pattern, cable, host port |
| Counter continues, display freezes | Host or display | Minimal viewer, CPU load |
| Freeze at regular interval | NUC/shutter or exposure | Camera event log |
| Stutter under load | Bandwidth or buffer | Rate, queue depth, cable |
| Smooth but late | Pipeline latency | Glass-to-glass measurement |
| Tearing | Display/buffer | VSync, double buffering |

8. Fix Checklist
- Confirm the camera frame counter and exposure.
- Test a direct, short, known-good cable.
- Match resolution, bit depth and frame rate to the interface budget.
- Increase host buffer only after measuring processing time.
- Move capture to a dedicated thread and avoid blocking calls.
- Test the raw stream in a minimal viewer.
- Measure glass-to-glass latency, not only fps.
- Check thermal throttling and power stability.
9. Frequently Asked Questions
Why does my thermal camera freeze after a few minutes?
Common causes are thermal throttling, a USB power or hub issue, a driver buffer problem, or a periodic NUC event. Check the camera temperature and frame counter first, then the host log.
Is low frame rate the same as lag?
No. Low frame rate gives fewer updates; lag is a delay in the frames that do arrive. A 30 fps stream can have 200 ms latency if the pipeline buffers several frames.
Can a USB cable cause image freeze?
Yes. A long, unshielded or low-quality cable can cause renegotiation, packet loss or power drop. Test a short, known-good cable and a direct host port.
Why does the image stutter only when recording?
Recording adds encoding and disk I/O. If the capture buffer is shared with the recorder, the capture thread can starve. Separate capture and recording buffers.
Should I increase the frame rate to reduce lag?
It can help, but it also increases bandwidth and processing load. Reduce buffering and pipeline delay first; a higher frame rate with a long queue may not improve latency.
10. Conclusion
Freeze and lag are system symptoms. Classify the failure, check the camera timing, verify the link budget, measure the host processing time and test the display path. Change one stage at a time, and measure glass-to-glass latency rather than relying on the frame-rate number.
For ERDI’s 640×512 and 1280×1024 modules, explore the ERUTM64 series and ERUTM128 series, or send the host, interface and latency requirement for a configured evaluation.
