Car detection in real time
Before measuring the distance between objects, we must detect the objects of interest to find out where they are. In this chapter, we have decided to measure the distance between cars, so we should start by detecting cars. In the preceding chapter, Chapter 6, Object Detection in Real Time, we learned how to detect objects in many ways, we saw that the YOLOv3 model has good performance in terms of accuracy, and fortunately, the car object class is in the category list of the coco dataset (that is, the coco.names file). Therefore, we will follow that method and use the YOLOv3 model to detect cars.
As we did in the previous chapters, we will create the new project of this chapter by copying one of the projects we have ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access