A Streamlit web app that visualizes YOLOv8 detection results in real-time.
Real-time object detection is a critical component in many computer vision applications such as autonomous systems, surveillance, and industrial automation. However, most existing solutions require complex setup, lack visualization tools, and are not easily deployable across different environments.
The AI Web Dashboard for Object Detection provides an end-to-end solution β allowing users to upload images, run YOLOv8-based object detection, and visualize results directly on an interactive web interface. It bridges the gap between deep learning inference and user-friendly visualization, enabling fast experimentation and deployment.
| Layer | Tools / Frameworks |
|---|---|
| Frontend | Streamlit (interactive dashboard) |
| Backend API | FastAPI (RESTful inference service) |
| Model | YOLOv8 (Ultralytics) |
| Data Handling | OpenCV, Pillow, NumPy |
| Deployment | Docker, Docker Compose, AWS EC2 |
| Version Control | Git + GitHub Actions (CI/CD) |
πΌοΈ Image Upload Interface: Upload single or multiple images directly from the dashboard.
π€ YOLOv8 Integration: Run high-accuracy object detection in real-time.
π Result Visualization: Display detection boxes, confidence scores, and class labels.
π Performance Metrics: View inference time, FPS, and detection summary charts.
π FastAPI REST Endpoint: /predict route for external integrations and automation.
π³ Dockerized Deployment: Consistent setup and scalable multi-environment deployment.
β‘ CI/CD Pipeline: Auto-build and deploy via GitHub Actions.
ββββββββββββββββββββββββββββββ
β User Uploads Image β
ββββββββββββββββ¬βββββββββββββββ
β
βββββββββΌβββββββββ
β Streamlit UI β
β (Dashboard App) β
βββββββββ¬βββββββββ
β REST API Call
βββββββββΌβββββββββ
β FastAPI β
β (Backend API) β
βββββββββ¬βββββββββ
β
βββββββββββββββββΌββββββββββββββββ
β YOLOv8 Inference Engine β
β (Detection + Postprocessing) β
βββββββββββββββββ¬ββββββββββββββββ
β
βββββββββΌβββββββββ
β Results JSON β
β + Annotated Img β
ββββββββββββββββββ
(To be added later)
| Interface | Description |
|---|---|
| Dashboard UI | Upload and visualize detection results in real-time |
| Detection Output | Bounding boxes and confidence scores |
| Metrics View | Detection stats and performance charts |
git clone https://github.com//AI-Object-Detection-Dashboard.git cd AI-Object-Detection-Dashboard
python -m venv venv source venv/bin/activate # On Mac/Linux venv\Scripts\activate # On Windows
pip install -r requirements.txt
uvicorn app.main:app --reload
streamlit run app/frontend.py
π³ Docker Deployment
docker-compose up --build
Access the app:
Streamlit Dashboard β http://localhost:8501
FastAPI Docs β http://localhost:8000/docs
πΉ Add real-time video inference via webcam or RTSP stream.
π§© Support model switching (YOLOv8, SSD, Faster R-CNN).
π Include batch image uploads and export of annotated results.
π Implement user authentication and role-based access.
π Integrate Prometheus metrics for inference monitoring.
Contributions are welcome! Fork the repository and open a pull request with a detailed explanation of your enhancements or fixes.