← Latest papers
🤖 AI

Automatic Vehicle Detection using DETR: A Transformer-Based Approach for Navigating Treacherous Roads

This paper introduces a novel approach for automatic vehicle detection in challenging driving environments by adapting the Detection Transformer (DETR) architecture with a Collaborative Hybrid Assignments Training scheme (Co-DETR), demonstrating superior accuracy and efficiency compared to traditional CNN-based methods like YOLO and Faster R-CNN on the BadODD dataset.

Original authors: Istiaq Ahmed Fahad, Abdullah Ibne Hanif Arean, Nazmus Sakib Ahmed, Mahmudul Hasan

Published 2026-06-23
📖 4 min read☕ Coffee break read

Original authors: Istiaq Ahmed Fahad, Abdullah Ibne Hanif Arean, Nazmus Sakib Ahmed, Mahmudul Hasan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot how to drive a car through the busy, chaotic, and sometimes muddy streets of Bangladesh. The biggest challenge for this robot isn't just steering; it's seeing and recognizing everything around it. Is that a rickshaw? A bus? A person? A train? And is it day or night?

This paper is about a team of researchers who tried to give this robot "super eyes" using a new type of artificial intelligence. Here is the story of what they did, explained simply.

The Problem: Old Glasses vs. New Lenses

For a long time, robots used "old glasses" (traditional AI models like YOLO and Faster R-CNN) to see the road. These glasses are good, but they struggle when the road is messy, the lighting is bad, or there are too many different types of vehicles mixed together. It's like trying to find a specific friend in a crowded, dark market using a flashlight that only shines in a straight line; you might miss things in the shadows or get confused by the crowd.

The researchers wanted to try something new: DETR. Think of DETR not as a flashlight, but as a smart, all-seeing drone that flies over the whole scene at once. Instead of looking at one spot at a time, it understands the "big picture" and the relationships between objects globally.

The Secret Sauce: Co-DETR (The Team of Coaches)

The researchers didn't just use the basic "drone" (DETR); they upgraded it with a special training method called Co-DETR.

Imagine you are training a student for a difficult exam.

  • Old Method: You give the student one teacher who corrects their answers at the very end. If the student makes a mistake early on, they might not realize it until it's too late.
  • The Co-DETR Method: You give the student multiple coaches working at the same time. Some coaches focus on the big picture, while others focus on tiny details. They all give feedback simultaneously during the practice sessions. This "team of coaches" helps the student learn much faster and more accurately, especially when the test questions (the road conditions) are tricky.

The Training Ground: The "BadODD" Dataset

To teach their robot, the team used a special collection of photos called BadODD.

  • Where? They took photos from 9 different districts in Bangladesh, covering everything from busy city streets to quiet rural roads.
  • What? They captured over 9,000 images, showing cars, rickshaws, trains, and people in both bright daylight and dark nights.
  • The Challenge: The roads are "treacherous" (unpredictable and messy), making it a perfect test for a tough AI.

Before training, they cleaned up the photos (like adjusting the brightness and contrast on a camera) so the robot could see the details clearly, even in dark or foggy conditions.

The Race: Old vs. New

The researchers put the "Old Glasses" (YOLOv8m) and the "New Drone with Coaches" (Co-DETR) head-to-head.

  • The Result: The new method (Co-DETR) was the clear winner.
  • The Score: In a test called "mAP" (which is like a score for how many things the robot correctly identified), the old method scored about 0.295, while the new method scored 0.438.
  • What this means: The new system was significantly better at spotting vehicles in those messy, difficult Bangladeshi roads. It didn't just guess; it understood the scene better.

The Catch: Speed vs. Accuracy

There is one trade-off. The "New Drone" takes longer to learn.

  • The old method took about 1.2 hours to train.
  • The new method took 20 hours to train.

However, the researchers noted that once the training is done, the "extra coaches" are removed. So, when the robot is actually driving on the road, it doesn't get slower; it just gets smarter.

The Bottom Line

This paper claims that by using this new "team of coaches" approach (Co-DETR) on a dataset of real Bangladeshi roads, they created a system that is much better at spotting vehicles in difficult conditions than the traditional methods used today. It's a step forward in making self-driving cars safer and more capable in the real, messy world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →