Skip to content

Enterprise-grade AI platform for automated Symphony logo detection and brand validation. Uses advanced YOLOv8/v11 models, FastAPI backend, and React frontend to deliver real-time batch image processing, WebSocket updates, admin controls, and robust security for production use.

License

Notifications You must be signed in to change notification settings

Dhruv0306/SymphonyProject1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Symphony Logo Detection System: Enterprise-grade, real-time image validation using advanced YOLO models for brand compliance and automated QA.

Python React FastAPI License Status

Symphony Logo Detection System

Enterprise-Grade YOLO-Powered Image Validation

Overview

Symphony Logo Detection System is an enterprise-grade platform for automated, high-accuracy logo detection in product imagery. The system uses advanced YOLO machine learning models to verify Symphony branding compliance and reduce manual QA effort.

The platform combines six specialized YOLO models (including the latest YOLOv11s cooler detection model) with a fault-tolerant batch processing system that can handle large volumes of images efficiently. Built on a microservice architecture, the system offers both a modern React frontend for interactive usage and a comprehensive FastAPI backend for integration with existing workflows and systems.

Ideal for marketing teams, quality assurance departments, and brand compliance managers, Symphony Logo Detection can process thousands of images with minimal manual intervention while providing detailed detection information and exportable reports.

Core Features

  • Advanced Multi-Model Detection: Six specialized YOLO models in a cascade for maximum accuracy
    • YOLOv8s and YOLOv11s variants with early-exit optimization
    • Specialized YOLOv11s cooler detection model
  • Fault-Tolerant Batch Processing: Reliable batch processing with automatic recovery
    • Dual-tracking system with pending files management
    • Server-side retry mechanism for failed requests
  • Modern React Frontend: Professional UI with WebSocket real-time progress tracking
    • Real-time processing updates with ETA calculation
    • Support for both file uploads and image URLs
  • Comprehensive API: FastAPI-powered backend with extensive validation
    • Structured error responses and proper status codes
    • Rate limiting with SlowAPI integration
  • Enterprise Security: Session-based authentication, CSRF protection, rate limiting
    • Secure admin authentication workflow
    • Comprehensive input validation
  • Admin Dashboard: View batch processing history and system statistics
    • Historical batch tracking with 24-hour retention
    • CSV export with detailed processing results

🧠 System Architecture

The Symphony Logo Detection System follows a modular, microservice-driven architecture:

  • 🧩 Frontend (React 19.1.0) handles all user interactions including uploads, batch progress, and dashboard views.
  • βš™οΈ FastAPI Backend (Python) processes image validation requests, manages batch tracking, and communicates with the detection engine.
  • 🧠 YOLO Microservice handles logo detection using sequential inference with YOLOv8/YOLOv11 models.
  • 🧼 Utility Services handle WebSocket updates, cleanup tasks, logging, and concurrency control.

πŸ“„ See full architecture diagrams, sequence flows, and component breakdowns β†’

πŸ“‹ Key Features

Symphony Logo Detection provides enterprise-grade image validation with:

  • πŸ” Multi-Model Detection using six specialized YOLO models in an optimized cascade sequence
  • πŸ”„ Fault-Tolerant Processing with dual-tracking system and automatic server-side retries
  • ⚑ Real-Time Updates through WebSocket connections with accurate progress tracking
  • πŸ“Š Admin Dashboard for batch history, system stats, and detailed CSV exports
  • πŸ›‘οΈ Enterprise Security including rate limiting, CSRF protection, and session management

πŸ“„ Explore detailed feature documentation β†’

πŸš€ Getting Started

Get up and running quickly with Symphony Logo Detection:

  • πŸ“₯ Installation: See the Installation Guide for setup steps
  • βš™οΈ Configuration: Follow the Configuration Guide for system tuning
  • 🏁 Quick Start: Use the commands below for local development

πŸ“„ Read the complete getting started guide β†’

πŸ“‘ API Reference

The Symphony Logo Detection API offers comprehensive endpoints:

  • πŸ–ΌοΈ Single Image: /api/check-logo/single for validating individual images
  • πŸ“¦ Batch Processing: /api/check-logo/batch/* endpoints for batch operations
  • πŸ“Š Admin Access: /api/admin/* endpoints for authenticated admin users
  • πŸ“₯ CSV Export: Batch result exports with detailed detection information

πŸ“„ See complete API documentation β†’

πŸ”„ Batch Processing

Symphony's batch processing system provides enterprise-grade reliability:

  • πŸ“ Dual Tracking: Simultaneous JSON state and file-based tracking for fault tolerance
  • πŸ” Automatic Recovery: Server-side retry mechanism for failed requests
  • πŸ“Š Progress Tracking: Real-time WebSocket updates with accurate ETA
  • 🧹 Resource Management: Automatic cleanup with configurable retention periods
  • πŸ› οΈ Configurable Batch Size: Adjustable processing batch size from 1-100 images

πŸ“„ Learn about batch processing workflows β†’

πŸ€– Model Architecture

Symphony uses an advanced cascade of YOLO models for maximum accuracy:

  • 🧠 Sequential Testing: Six models with early-exit optimization for efficiency
  • πŸ” YOLOv8s Models: Three specialized base models for logo detection
  • πŸ”Ž YOLOv11s Models: Next-generation models for challenging cases
  • 🧊 Cooler Detection: Specialized YOLOv11s model for cooler displays

πŸ“„ Explore model architecture details β†’

πŸ”’ Security Features

The system implements multiple layers of security:

  • πŸ›‘οΈ Authentication: Session-based admin authentication system
  • 🚫 Rate Limiting: Protection against excessive API usage
  • πŸ” CSRF Protection: Token-based safeguards for form submissions
  • 🧹 Security Headers: Comprehensive HTTP security headers

πŸ“„ Read the complete security guide β†’

⚑ Quick Start

Get up and running in minutes:

# Backend Setup
pip install -r requirements.txt

# Start YOLO service (Terminal 1)
cd yolo_service
python start.py

# Start main API (Terminal 2)
uvicorn App:app --reload --host 0.0.0.0 --port 8000
# Frontend Setup
cd frontend
npm install
npm run start-backend

Access the application at http://localhost:3000 and the API documentation at http://localhost:8000/docs.

πŸ‘₯ Contributing

We welcome contributions from the community to improve Symphony Logo Detection!

  • πŸ“ Guidelines: Please follow our Contributing Guidelines
  • πŸ› Bug Reports: Submit issues for any bugs you find
  • ✨ Feature Requests: Suggest new features or improvements
  • πŸ§ͺ Testing: Help improve our test coverage
  • πŸ“– Documentation: Help us keep docs clear and up-to-date

πŸ“„ Read our detailed contribution guide β†’

License & Support

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Support & Contact

Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Acknowledgments

  • YOLO Framework: Ultralytics for the YOLO implementation
  • FastAPI: SebastiΓ‘n RamΓ­rez for the excellent web framework
  • React Team: For the powerful frontend framework
  • Open Source Community: All contributors and maintainers

⚠️ Security Notice: This system processes image data and should be deployed with appropriate security measures. Always follow security best practices and keep the system updated with the latest security patches.

About

Enterprise-grade AI platform for automated Symphony logo detection and brand validation. Uses advanced YOLOv8/v11 models, FastAPI backend, and React frontend to deliver real-time batch image processing, WebSocket updates, admin controls, and robust security for production use.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published