arXiv:2611.09725cs.CVNov 2026

Manuscript Offprint

arXiv:2611.09725

TriNetra: Thermal-Reliability-Guided RGB-Thermal Fusion and Tracking for Surveillance

Sadique Khatib, Aditya Ahirrao, Vedant Sonawane, Disha Kapse, Y. D. Bhise

Dr. Y. D. Bhise

Dept. of Computer Science and Design

K. K. Wagh Institute of Engineering

Education and Research

Nashik 422003, India

ydbhise@kkwagh.edu.in

Aditya Ahirrao

Dept. of Computer Science and Design

K. K. Wagh Institute of Engineering

Education and Research

Nashik 422003, India

adityaahirrao17@gmail.com

Disha Kapse

Dept. of Computer Science and Design

K. K. Wagh Institute of Engineering

Education and Research

Nashik 422003, India

dishakapse55@gmail.com

Sadique Khatib

Dept. of Computer Science and Design

K. K. Wagh Institute of Engineering

Education and Research

Nashik 422003, India

khatibsadik9@gmail.com

Vedant Sonawane

Dept. of Computer Science and Design

K. K. Wagh Institute of Engineering

Education and Research

Nashik 422003, India

vedantsonawane2244@gmail.com

Abstract—Visible cameras fail at night and thermal sensors fail under saturation, blur or loss of contrast, yet most RGB-thermal (RGB-T) detectors mix the two streams with fixed weights and cannot tell when one modality has become unreliable. TriNetra is a reliability-aware surveillance framework built around this problem. The proposed solution computes a frame-level Thermal Reliability Coefficient (TRC) from five label-free image cues, uses it to gate the thermal features of a dual-branch YOLOv8m detector whose visible branch, neck and head are frozen and COCO-pretrained, and passes the same score to a ByteTrack-based tracker that feeds a rule-based behaviour analyser. On the M3FD benchmark (2,940/630/630 split) the detector reaches 87.6% precision, 79.4% recall, 70.0% mAP@50 and 47.8% mAP@50:95 on the test split, with 17.0 M of its 42.9 M parameters trained. TRC stays near 0.78 on clean frames (standard deviation 0.012), decreases with the severity of thermal saturation and blur, reaching 0.53 and 0.69 at full severity, and is insensitive to RGB-thermal misalignment. With identical weights, the adaptive gate matches a fixed gate on clean data (70.0% versus 69.8% mAP@50) but keeps 43.6% mAP@50 when the thermal stream is corrupted, against 38.4%, 29.2% and 25.0% for a fixed gate, full thermal admission and a closed gate; the 5.1-point gain over the fixed gate has a 95% bootstrap confidence interval of +3.6 to +6.5 points. In tracking, the TRC-gated association performs on par with ByteTrack on a synthetic benchmark with exact ground truth and on 14 M3FD clips, and is slightly less stable under thermal saturation, so its measured benefit is confined to the detector. The limitations of the current evaluation are reported together with the results.

Keywords—RGB-thermal object detection, thermal reliability, adaptive fusion, modality failure, multi-object tracking, surveillance, YOLOv8.

I. INTRODUCTION

DETECTING and following people and vehicles around the clock is hard for a visible-light camera, which loses contrast in darkness, glare, fog, smoke and rain. Thermal infrared cameras record emitted rather than reflected radiation and remain informative in these conditions, which has made paired RGB-thermal (RGB-T) sensing the usual route to all-weather perception [1], [2].

Thermal imagery is not uniformly reliable either. Sensor saturation, defocus, motion blur, loss of contrast at thermal crossover and RGB-thermal misregistration all reduce its value, and a detector that mixes the two streams with fixed weights inherits the damage [3], [4]. Recent RGB-T detectors improve the fusion itself through target-aware feature refinement [5], adaptive gated fusion in a lightweight detector [6] and energy-score-guided enhancement [7]. Other work addresses failures directly, through diffusion-based reconstruction with dynamic modality weighting [3] or through quality-aware decision fusion based on Dempster-Shafer theory [4]. In these methods reliability is learned implicitly and stays inside the network weights, so it cannot be inspected, cannot be checked against a known degradation, and is not passed on to later stages.

Two gaps follow. First, none of the works above exposes an explicit, label-free, per-frame estimate of thermal reliability that can be measured against controlled degradations. Second, RGB-T detection is usually evaluated in isolation, whereas surveillance needs persistent identities and behaviour cues built on top of the detections.

This article presents TriNetra, a reliability-aware framework for RGB-T surveillance. The proposed solution conditions each pair of frames, computes a Thermal Reliability Coefficient (TRC) from five image cues, uses the TRC to scale the thermal features of a dual-branch YOLOv8 detector [8] whose visible branch, neck and head stay frozen, and passes the same score to a ByteTrack-style tracker [9] that feeds a rule-based behaviour analyser. The contributions are as follows.

  1. A label-free reliability score. The TRC combines contrast, sharpness, saturation, RGB-thermal mutual information and alignment quality into one number in [0,1]. It is characterised on all 630 M3FD test pairs and on four controlled degradation types at four severities, including a leave-one-cue-out analysis.

  2. A TRC-gated detector. The dual-branch detector trains 17.02M of 42.92M parameters and reaches 70.0% mAP@50 and 47.8% mAP@50:95 on the M3FD test split.

  3. A gate ablation under corrupted thermal input. With identical weights, the adaptive gate equals a fixed gate on clean data but retains 43.6% mAP@50 under thermal corruption, against 38.4%, 29.2% and 25.0% for a fixed gate, full thermal admission and a closed gate. Bootstrap confidence intervals over the test images are reported for every comparison.

  4. Reliability-aware tracking and behaviour analysis with a four-layer validation protocol. The layers are unit tests, a synthetic benchmark with exact ground truth, label-free metrics on the clips and a thermal-degradation stress test; in this evaluation the TRC-gated association performs on par with ByteTrack and slightly worse under thermal saturation.

The remainder of this article is organised as follows. Section II reviews related work. Section III presents the proposed solution. Section IV describes the datasets, environment, metrics and protocols. Section V reports and discusses the results, and Section VI concludes.

References (28)