An FPV drone tracking a moving vehicle faces a continuous perception problem. The vehicle changes position from frame to frame, while the drone itself may be moving, rotating, and experiencing vibration. These combined movements make it difficult to maintain a consistent estimate of the target's location using conventional image processing alone.
AI vision addresses this challenge by combining deep-learning-based object detection with temporal tracking and motion estimation. Instead of analyzing each image independently, the system processes a sequence of video frames, identifies objects, associates detections across time, and estimates how their positions are changing.
Several computer vision techniques contribute to this process. YOLO-based object detection identifies vehicles within individual frames. Multi-object tracking maintains target identities across consecutive frames. Kalman filtering estimates target motion and reduces measurement noise, while camera motion compensation helps distinguish changes caused by the drone from those caused by the target. Understanding how these techniques work together is essential when designing an AI vision system for an FPV platform.
The challenge extends beyond recognizing a vehicle: the system must maintain reliable visual information despite changing viewpoints, temporary occlusion, and limited onboard computing resources.
How AI Vision Detects Moving Vehicles
The first stage of vehicle tracking is object detection. Before a system can maintain a target's trajectory, it must identify the target and determine its location within the camera image.
Image Acquisition and Preprocessing
An FPV camera continuously captures image frames at a specified frame rate. Each frame provides a two-dimensional representation of the surrounding environment, containing information about object appearance, position, and spatial relationships. Before inference, images may undergo preprocessing operations such as resizing, normalization, and color-space conversion. These operations prepare the input for the neural network while maintaining the image characteristics required for reliable detection.
Image quality directly affects detection performance. Motion blur, insufficient illumination, compression artifacts, and changes in viewing angle can reduce the visual features available to the detection model. A vehicle occupying only a small region of the image also presents a more difficult recognition problem than one captured at close range.
Deep Learning-Based Object Detection
Modern AI vision systems commonly use convolutional neural networks (CNNs) to extract visual features and recognize objects. YOLO (You Only Look Once) is a widely used family of real-time object detection models. Its single-stage detection architecture processes an image through a neural network and predicts object locations and classes within the same inference pipeline.
For a vehicle detection task, the model typically produces three important outputs:
- Bounding Box: Defines the estimated position and dimensions of the detected vehicle.
- Class Label: Identifies the object category, such as a car, truck, or motorcycle.
- Confidence Score: Represents the model's confidence in the predicted detection.
The bounding box is particularly important because it provides a measurable location for subsequent tracking operations. For example, a vehicle detected in an image might have a bounding box centered at pixel coordinates (u, v). These coordinates establish an initial observation that can be compared with the vehicle's position in subsequent frames.
The YOLOv7 paper describes architectural and training optimizations designed to improve real-time object detection performance.
However, object detection only describes what is visible in the current frame. It does not independently establish whether a vehicle detected in the next frame is the same vehicle observed previously. This requires a separate tracking process.
Object Detection vs. Object Tracking
Object detection and object tracking perform different functions within a computer vision system. Detection identifies objects in individual frames. Tracking maintains their identities and estimates their positions across a continuous video sequence.
A typical tracking-by-detection architecture follows this sequence:
- The detector identifies objects in the current frame.
- The tracking algorithm receives the resulting bounding boxes.
- Existing tracks are compared with new detections.
- The system associates detections with existing target identities.
- Target positions and tracking states are updated.
Target Association Across Frames
The central problem is data association: determining which new detection corresponds to which previously tracked object. One commonly used measurement is Intersection over Union (IoU), which evaluates the overlap between two bounding boxes.
IoU(A, B) = |A ∩ B| / |A ∪ B|
A higher IoU indicates greater spatial overlap. Tracking algorithms can use this measurement to compare predicted target positions with newly detected bounding boxes. However, spatial overlap alone is insufficient in complex scenes. Two vehicles may move close together, cross paths, or temporarily overlap in the image. Appearance features and motion estimates can provide additional information for maintaining consistent identities.
The ECCV 2022 paper demonstrates an approach that associates both high-confidence and lower-confidence detection boxes with existing tracklets. This helps reduce fragmented trajectories when objects are partially occluded or produce weaker detection results.
The distinction is important: a detector can recognize several vehicles in a frame, but a tracking algorithm must determine how those detections relate to previously observed vehicles.
How Kalman Filtering Maintains Stable Target Tracking
Object detection produces measurements, and those measurements are rarely perfectly consistent. Small changes in lighting, image quality, bounding-box boundaries, and neural network predictions can cause the detected position of a stationary or smoothly moving object to fluctuate between frames. Kalman filtering provides a mathematical framework for estimating a target's state over time by combining motion prediction with new observations.
Predicting Target Position Between Frames
A simplified two-dimensional target state can be represented as:
xk = [ uk vk u̇k v̇k ]T
Where:
- (uk, vk) represent the target's image-plane coordinates.
- (u̇k, v̇k) represent its estimated image-plane velocities.
- k represents the current time step.
The Kalman filter operates through two main stages.
Prediction: The system estimates the next target state using the previous state and a motion model:
x̂k|k−1 = F · x̂k−1|k−1
Here, F is the state-transition matrix describing the assumed motion between consecutive observations.
Correction: When a new detection becomes available, the predicted state is compared with the measured position. The estimate is then updated according to the uncertainty associated with the prediction and measurement:
x̂k|k = x̂k|k−1 + Kk · ( zk − H · x̂k|k−1 )
Where Kk is the Kalman gain, zk represents the new measurement, and H maps the estimated state to the measurement space. The filter therefore balances predicted motion against newly observed image data rather than treating every detection as an exact measurement.
Handling Detection Noise and Temporary Occlusion
Kalman filtering is particularly useful when a target temporarily disappears from the detector's output. For a short period without a valid measurement, the filter can continue predicting the target's position based on its previous motion state. When a new observation becomes available, the system can compare it with the predicted state and update the estimate.
However, prediction is not equivalent to recognition. A Kalman filter cannot independently determine whether a newly visible object is the original target. Reliable recovery also depends on detection, data association, and, where available, appearance-based identification.
Compensating for FPV Drone and Camera Motion
One of the main engineering challenges in FPV visual tracking is that the camera is moving along with the aircraft. A fixed surveillance camera observes a relatively stable background. An FPV camera, by comparison, continuously changes its viewpoint as the aircraft translates, rotates, and responds to external disturbances. This creates an important distinction between target motion and apparent image motion.
Why Camera Motion Affects Tracking
Consider a vehicle traveling along a straight road while the FPV drone changes its viewing direction. Even if the vehicle maintains a relatively consistent trajectory in the physical environment, its image coordinates may change rapidly because the camera is rotating. The background also moves across the image. Consequently, a tracking algorithm that relies exclusively on changes in bounding-box coordinates may interpret camera movement as target movement. This can reduce the accuracy of motion prediction and increase the likelihood of incorrect associations between consecutive frames.
Camera Motion Compensation
Camera Motion Compensation (CMC) estimates the global visual transformation between consecutive frames. One approach is to identify feature points in the background and examine how their positions change over time. Optical flow and feature matching can help estimate this transformation. The estimated global motion can then be used to adjust predicted target positions before the tracking algorithm performs data association.
A useful reference is this research paper, which combines motion estimation, appearance information, an improved Kalman filter, and camera motion compensation to improve multi-object tracking under moving-camera conditions.
For FPV applications, the underlying principle is particularly relevant: image-plane motion contains contributions from both the target and the camera.
It is also important to distinguish image-based compensation from full three-dimensional motion estimation. Recovering a vehicle's actual world position and velocity generally requires additional information, such as camera calibration, vehicle pose, altitude, and suitable depth or navigation measurements.
Reacquiring Targets After Occlusion or Tracking Loss
Continuous tracking becomes more difficult when a vehicle temporarily disappears from the camera image. Common causes include:
- Buildings, trees, and other physical obstructions.
- Rapid changes in camera orientation.
- Motion blur during fast aircraft movement.
- Changes in illumination and environmental conditions.
- The target moving outside the camera's field of view.
A robust tracking system needs to distinguish temporary detection failure from permanent target loss.
Temporal Prediction and Target Reacquisition
Temporal prediction uses historical observations to estimate where a target may appear in subsequent frames. The system can maintain a track history containing previous bounding boxes, estimated velocities, and tracking confidence. If the target is temporarily undetected, this information provides a basis for evaluating subsequent observations.
Feature memory can provide another source of information. By retaining visual characteristics from previous detections, an appearance-based tracking system may be able to distinguish a returning target from other objects with similar motion. Re-identification (ReID) techniques are particularly relevant when multiple objects share the same category and appearance.
Nevertheless, there are practical limits. If a vehicle leaves the camera's field of view, its future image position cannot be reliably established from visual history alone. Reacquisition requires a new observation and sufficient evidence to associate that observation with the previous track.
Onboard AI Processing and FPV System Integration
The performance of an AI tracking system depends on more than its detection model. Its processing hardware, camera interfaces, and communication architecture also determine how effectively visual information can be used.
Why Onboard Processing Matters
Processing video onboard allows the system to analyze camera frames without depending on a continuous video transmission to a remote computer for every inference operation. This can reduce dependence on external processing infrastructure and avoid additional communication delays in the perception pipeline.
However, embedded AI hardware operates under constraints that are particularly relevant to FPV platforms:
- Limited electrical power.
- Restricted installation space and payload capacity.
- Thermal management requirements.
- Available memory and processing throughput.
- Real-time video input and output requirements.
Model complexity must therefore be considered alongside detection accuracy and processing speed.
AI Module, Camera, and Flight Controller Architecture
A typical FPV vision architecture contains three main subsystems:
| Component | Primary Function |
|---|---|
| Camera | Captures real-time visual information |
| AI Vision Module | Performs object detection and visual tracking |
| Flight Controller | Handles aircraft stabilization and flight-control functions |
These subsystems have different responsibilities. The AI vision module processes image data and produces information such as target coordinates, detection classifications, and tracking status. The flight controller manages the aircraft's stabilization and control functions. Where an application requires higher-level autonomous functions, an additional software layer must interpret visual information and communicate through an appropriate interface.
For example, the PX4 basic concepts documentation describes how an onboard computer can communicate with the flight controller to provide higher-level processing capabilities.
The distinction between visual tracking and flight control is essential. A system that can continuously recognize and track a vehicle does not automatically have the navigation, state estimation, or control capabilities required for autonomous flight.
An Engineering Example: Skylark AI VisionCube Kit
The Skylark AI VisionCube Kit is an example of an integrated AI vision module designed for FPV platforms. Its published architecture combines YOLOv7-optimized object detection with temporal prediction and Kalman filtering to support continuous visual target tracking.
YOLOv7-Based Object Detection
According to its product specifications, the VisionCube Kit uses a YOLOv7-optimized architecture to recognize multiple dynamic objects within the camera's field of view. The system supports recognition of up to 50 targets simultaneously, with configurable camera arrangements for different imaging requirements.
Its six configurations include single visible-light cameras, visible-light and thermal combinations, and dual-visible-camera configurations with optional thermal imaging. This modular approach allows the imaging configuration to be selected according to the intended FPV platform and operating environment.
Temporal Prediction and Kalman Filtering
The product also identifies temporal prediction and Kalman filtering as components of its target-tracking architecture. These techniques address two different aspects of visual tracking. Temporal prediction uses information from previous observations to estimate subsequent target positions. Kalman filtering provides a framework for updating those estimates as new detections become available.
The product page also describes feature-memory mechanisms for maintaining tracking continuity during brief visual obstructions. According to Skylark's published specifications, the system can reacquire a target within three seconds following temporary visual loss. This is a manufacturer-reported performance figure rather than an independently verified benchmark.
Visible and Thermal Imaging Options
The availability of visible-light and thermal imaging configurations is another important aspect of the VisionCube Kit. Visible-light cameras provide conventional image information for object recognition, while thermal cameras provide temperature-based image contrast that can be useful in low-light environments. Selected configurations offer thermal imaging up to 640 × 512 resolution.
The product page lists recognition distances of up to 1,200 m for selected D, DT, and DT Pro configurations, with different ranges for other variants. Actual recognition performance depends on camera selection, target dimensions, environmental conditions, and image quality. For additional technical information, see the VisionCube Kit product page.
Engineering Challenges and Performance Considerations
Even with an effective detection and tracking architecture, real-world performance depends on several interacting engineering variables.
- Detection Accuracy: A model must reliably identify the target under different lighting conditions, viewing angles, and image resolutions. Incorrect detections can introduce errors into the subsequent tracking process.
- Tracking Stability: A tracking algorithm must maintain consistent target identities across consecutive frames. Frequent ID switches or fragmented trajectories reduce the usefulness of tracking output.
- Processing Latency: The time required to capture, process, and output an image affects how current the target information remains. The total processing delay can be represented as:
Ttotal = Tcapture + Tinference + Ttracking + Toutput
This simplified model describes the main processing stages. Actual system latency may also include image transmission, buffering, and display delays.
- Frame Rate: A higher frame rate provides more frequent observations, which can improve temporal resolution. However, it also increases the computational workload.
- Target Visibility: The number of pixels occupied by a vehicle has a direct influence on recognition. Small or distant targets may provide insufficient visual detail for reliable classification.
- Power and Thermal Management: Running neural networks continuously requires processing resources and electrical power. The resulting heat must be managed within the physical limitations of the onboard module.
These factors should be evaluated together. A high detection accuracy measured on static images does not necessarily translate into stable tracking on a moving FPV platform. For engineering evaluation, testing should include representative camera motion, target sizes, lighting conditions, occlusion scenarios, and end-to-end latency measurements.
Conclusion
Reliable AI-based vehicle tracking on FPV drones requires several computer vision techniques to work together. YOLO-based detection identifies objects in individual frames, multi-object tracking maintains their identities, and Kalman filtering estimates their motion over time. Camera motion compensation addresses the additional complexity introduced by a moving aircraft and camera.
The effectiveness of the complete system also depends on onboard processing capacity, camera configuration, latency, and integration with the flight-control architecture. As embedded AI hardware and computer vision algorithms continue to develop, integrated modules such as the Skylark AI VisionCube Kit demonstrate how object detection and temporal tracking capabilities can be incorporated into FPV platforms.
Further information about FPV platforms, components, and integrated systems is available from the Skylark website.
References
- YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors (CVPR 2023)
- ECCV 2022 Multi-Object Tracking Paper
- Motion-Estimation-Based Multi-Object Tracking Research (arXiv:2206.14651)
- PX4 Basic Concepts Documentation
- Skylark AI VisionCube Kit Product Page
- Skylark Official Website
Replies