CoolFace
Apppublic

gayatrigovindasetty/vehicle-detection

sourceHugging Facemitupdated 10mo agoView on Hugging Face
0likes
App README

๐Ÿš— Real-Time Vehicle Detection System

This space demonstrates real-time vehicle detection using YOLOv8.

Features

  • โ€”Detect 8 classes of vehicles: Auto, Bus, Car, LCV, Motorcycle, Multiaxle, Tractor, Truck
  • โ€”Process images and videos in real-time
  • โ€”Adjustable confidence and IOU thresholds
  • โ€”Powered by YOLOv8 Nano (~50 FPS on GPU)

Usage

  1. 1.Image Detection: Upload an image and click "Detect Vehicles"
  2. 2.Video Detection: Upload a video and click "Process Video"
  3. 3.Adjust detection parameters as needed

Model

The trained model is automatically downloaded from Hugging Face Hub at startup.

Performance

  • โ€”Speed: ~50 FPS on GPU, ~10 FPS on CPU
  • โ€”Accuracy: mAP@0.5 > 85%
  • โ€”Model Size: ~6 MB

Built with Ultralytics YOLOv8, Gradio, and Docker.

Source Code

GitHub Repository