Computer Vision for Autonomous Vehicles

Rohit GandikotaarXiv 2018 · arXiv

Introduction

Autonomous navigation presents a multifaceted challenge, requiring distinct strategies for indoor and outdoor environments. Indoor settings, such as warehouses or laboratories, demand high-precision obstacle avoidance and localization within relatively static maps. Conversely, outdoor road environments require high-speed processing of dynamic elements like lane markings, traffic signs, and other vehicles. This paper explores a hybrid pipeline combining classical computer vision and deep learning to address these diverse requirements, specifically developed for a mail-delivery robot at the Indian Institute of Space Science and Technology (IIST).

Indoor Navigation: Classical Computer Vision Approaches

The indoor navigation system focuses on mapping and obstacle detection using classical techniques. A critical first step is camera calibration to map pixel coordinates to real-world distances.

Camera Calibration and Segmentation

Rather than using complex coordinate transformations, the author implemented a "known object" method. By using a book of known dimensions and a measuring tape, the system establishes a ground truth for distance estimation.

Camera calibration using a known object (book) and measuring tape.

For floor segmentation, the study compared Watershed, K-means clustering, and Otsu thresholding. A significant challenge in indoor environments is "noise" from floor stains or patterns, which can be mistaken for obstacles. The author found that applying a slight Gaussian blur effectively smoothed these textures, allowing the segmentation algorithms to focus on physical objects.

Final segmented images showing isolated indoor objects like chairs and desks.

Outdoor Navigation: Deep Learning and Hybrid Pipelines

Outdoor navigation requires more robust models to handle high-speed dynamics. The pipeline integrates several specialized modules:

  • Lane Detection: Utilizes Gaussian blurring, Canny edge detection, and Hough Transforms to identify road boundaries.
  • Traffic Sign Recognition: A CNN with three convolutional layers and dropout achieved 98% accuracy on the German Traffic Sign test set.
  • Steering Angle Prediction: A CNN-based regression model was used. To prevent erratic "jerky" steering, the author introduced angle binning and a smooth regularizer across consecutive frames.
  • Vehicle Detection: A hybrid approach using Histogram of Oriented Gradients (HOG) features and a Linear SVM classifier. To optimize performance, HOG features were extracted once for the entire image and then sub-sampled. False positives were mitigated using a heatmapping technique, where Gaussians were drawn around detection centers and thresholded.

Key Insights and Results

The research highlights the importance of domain-specific optimizations. In indoor settings, pre-processing (blurring) proved essential for making classical segmentation viable. In outdoor settings, binning continuous variables like steering angles significantly improved vehicle stability. The HOG+SVM pipeline, while computationally intensive, was made efficient through global feature extraction and refined via heatmapping to consolidate multiple detections into accurate bounding boxes.

Conclusion and Future Work

While the current pipeline demonstrates functional navigation, several improvements are planned for real-world deployment. Integrating Long Short-Term Memory (LSTM) networks could provide temporal context for smoother steering. Additionally, transitioning from HOG+SVM to Single Shot Detector (SSD) architectures would enable simultaneous, real-time detection of multiple object classes, further enhancing the robot's "vision brain."

Summary updated

Abstract

In this work, we try to implement Image Processing techniques in the area of autonomous vehicles, both indoor and outdoor. The challenges for both are different and the ways to tackle them vary too. We also showed deep learning makes things easier and precise. We also made base models for all the problems we tackle while building an autonomous car for Indian Institute of Space science and Technology.
BibTeX
@misc{gandikota2018computer,
  author = {Rohit Gandikota},
  title = {{Computer Vision for Autonomous Vehicles}},
  year = {2018},
  eprint = {1812.02542},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.02542},
}
Figure