Home About Me Projects Contact
TR EN

Projects

ThermalTrack AI

ThermalTrack AI

Real-Time Thermal Detection

A project showcase highlighting a sleek, webcam-driven object detection pipeline utilizing YOLOv8. It strips away interface clutter to present target acquisition tracking alongside simulated thermal heat signatures.

OpenCV Ultralytics YOLOv8 Python Real-time Inference

Pipeline

Capture frame, pass to inference model, draw bounding matrices, render FPS metrics.

Objective

Deliver a high-speed, legible, and low-latency computer vision interface for live environments.

Output

Provides users with immediate classification classes, confidence arrays, and runtime stats.

THERMAL SCENE

Visual block: stylized matrix mockup for thermal environment representation

Snippet Summary

model = YOLO("yolov8n.pt")
cap = cv2.VideoCapture(2)

results = model(frame, imgsz=640, conf=0.35, verbose=False)

for box, cls, score in zip(boxes, classes, scores):
    cv2.rectangle(frame, (x1, y1), (x2, y2), color, 2)
    cv2.putText(frame, text, (x1 + 3, y1 - 4), ...)

Pipeline

Pseudo-Thermal Chromatic Transformation

Incoming RGB matrices are parsed through OpenCV LUT (Look-Up Table) matrices using custom color grading rules, simulating high-contrast thermodynamic imaging arrays directly over web cameras.

Formulas: `cv2.applyColorMap` / LUT Mapping

Performance

Ultra Low-Latency Inference Loops

By binding the system to the nano (yolov8n) variant, the pipeline guarantees a minimum baseline performance of 30+ FPS across consumer laptops, optimizing tensor memory limits safely.

Engine: PyTorch / Ultralytics Core / Non-Max Suppression

Threading

Asynchronous Frame Buffer Trimming

To mitigate native camera hardware queue lags, a localized threading sub-routine pulls fresh frames continuously, completely dropping stale allocations from the system memory.

Tactics: Multi-threaded Capture / Frame Decoupling

System Integration

Robust Computer Vision Pipeline Architecture

ThermalTrack AI is a streamlined computer vision layout built for edge computing environments where computing resources are strictly limited. The common bottleneck of live multi-media tools—accumulative execution delays caused by synchronous frame loops—is completely bypassed via memory buffer isolation layers.

Bounding array calculations and tactical confidence values are overlaid back into the parent matrix arrays on the fly. This architecture ensures that when actual physical LWIR or thermal camera gear is linked, the model can switch weights seamlessly via transfer learning paradigms without altering the underlying frame processing infrastructure.