War Thunder Target Finder (WTTF) is a real-time object detection assistant designed for the military game War Thunder. In game modes like "Realistic Battles" and "Simulator Battles," enemy vehicles are not visually marked, making it challenging for players to spot threats in the environment. WTTF aims to support players by providing a transparent overlay that highlights detected vehicles using a trained YOLO object detection model. The tool enhances situational awareness while preserving the game's immersive experience.
WTTF is structured into modular components that work together seamlessly:
-
User Interface (GUI):
Provides a simple and user-friendly interface for configuring detection settings such as FPS, bounding box color, and window title.
Built usingtkinterandttk. -
Detection Control:
Manages the detection loop in a separate thread, coordinating between GUI, window finder, screenshot capture, detection engine, and overlay.
Uses Python's built-in threading. -
Window Finder:
Locates the War Thunder game window by searching for a specified title substring.
Useswin32guilibrary. -
Screenshot Capture:
Captures the visual content of the target window for analysis.
UsesPIL.ImageGrab. -
YOLO Model (Detection Engine):
Runs the object detection model (trained YOLOv11) on the captured frames to detect vehicles.
Built usingultralyticsandtorch. -
Transparent Overlay UI:
Creates a transparent, click-through overlay that displays detection results over the game window.
Usestkinter.Canvas. -
Utilities:
Ensures DPI awareness and handles user input errors across the application. -
Data Transformation & Training Scripts:
Tools for converting detailed vehicle datasets into simplified classes ("vehicle" and "dead") and training the YOLO model.
- Go to the release page of the project.
- Download all the
.zipfiles and extract them to your preferred directory. - Download the model file
best.pt. - Place both the extracted application and
best.ptin the same directory. - Run the executable file
WTTF.exe.
Initiating project ideas and assigning weekly tasks
Responsible for screenshot capture, model training and related scripts
Responsible for detection control and utilities
Responsible for window finder and running YOLO model
Responsible for user interface and overlay UI
Responsible for collecting and annotating image dataset