Abstract
Time-to-contact (TTC), the time for an object to collide with the observer's plane, is a powerful tool for path planning: it is potentially more informative than the depth, velocity, and acceleration of objects in the scene -- even for humans. TTC presents several advantages, including requiring only a monocular, uncalibrated camera. However, regressing TTC for each pixel is not straightforward, and most existing methods make over-simplifying assumptions about the scene. We address this challenge by estimating TTC via a series of simpler, binary classifications. We predict with low latency whether the observer will collide with an obstacle within a certain time, which is often more critical than knowing exact, per-pixel TTC. For such scenarios, our method offers a temporal geofence in 6.4 ms -- over 25x faster than existing methods. Our approach can also estimate per-pixel TTC with arbitrarily fine quantization (including continuous values), when the computational budget allows for it. To the best of our knowledge, our method is the first to offer TTC information (binary or coarsely quantized) at sufficiently high frame-rates for practical use.
Introduction
In autonomous navigation, knowing the distance to an object (depth) is often less critical than knowing the time until a potential collision. This metric, known as Time-to-Contact (TTC), is a fundamental cue used by biological systems for obstacle avoidance. However, for computer vision systems using a single monocular camera, estimating TTC is a significant challenge.
Traditional methods often attempt to "disentangle" the scene by calculating per-pixel depth and object velocities. This approach is inherently under-constrained; for instance, a small, nearby object moving slowly can appear identical to a large, distant object moving quickly. Furthermore, existing solutions are frequently too computationally expensive for real-time robotics or require precise camera calibration. This research introduces a method that is robust to dynamic obstacles and fast enough for high-speed autonomous maneuvers.
Methods: TTC as Binary Classification
The core innovation of this work is reframing TTC estimation as a binary classification task. Rather than regressing an exact time value for every pixel, the system determines if a collision will occur within a specific time threshold $\tau$. This creates a "temporal geofence."
The Scaling Intuition
The method leverages a simple geometric principle: as an observer moves toward an object, the object's projection on the image sensor expands. The ratio of an object's size between two consecutive frames ($I_0$ and $I_1$) is directly related to the TTC.
The process involves:
- Extracting features from two consecutive images.
- Scaling the features of the second image by a factor $\alpha$, which corresponds to a specific time threshold (e.g., 2 seconds).
- Using a lightweight encoder-decoder network to compare the original features of $I_0$ with the scaled features of $I_1$.
- If an object in the second frame is larger than its scaled representation from the first frame, it is identified as being within the temporal geofence.
Architecture and Auxiliary Tasks
To enhance performance, the network is trained on an auxiliary task of binary optical flow. By learning to predict directional pixel movement, the network develops a robust internal representation of motion and correspondence. To provide more granular information, multiple binary classifications for different thresholds can be run in parallel, allowing for quantized or continuous TTC estimation via the Area Under the Curve (AUC) of the resulting probability maps.
Results and Discussion
The proposed method achieves significant improvements in both speed and efficiency. On an NVIDIA V100 GPU, a binary geofence can be computed in just 6.4 ms, enabling frame rates exceeding 150 FPS. This represents a 25x speedup over previous state-of-the-art monocular TTC methods.
Evaluations on the KITTI 2015 benchmark demonstrate that this approach outperforms existing monocular methods and rivals some stereo-based systems. Notably, the system is calibration-free, as TTC can be derived purely from image scaling ratios, making it resilient to camera vibrations or shifts that typically degrade metric depth estimates.
Limitations and Future Work
Despite its strengths, the method has limitations. Drastic vertical motions (e.g., speed bumps) or rapid rotations can violate the scaling assumptions. Additionally, the model may struggle with highly deformable objects or motion patterns under-represented in synthetic training data. Future research will focus on integrating this temporal geofence into active path-planning loops for high-speed autonomous platforms like drones.
Summary updated