Skip to content

PCN-LAB/AdInsight

Repository files navigation

AdInsight - Advanced Ad Analytics Platform

AdInsight is an end-to-end platform for analyzing video advertisements using eye-tracking, emotion detection, and object recognition technologies. Combined with AI-powered analysis, it provides actionable insights for advertisers to optimize their content.

Project Structure

  • FastAPI Backend

    • fast_api_server.py - Main API server
    • app_copy.py - Chatbot functionality with Ollama integration
    • server.py - Video processing and object detection routines
    • metrics_generator.py - Generates analytics from MongoDB data
  • React Frontend

    • react/ - React application code
    • react/src/pages/ - Application pages and views
    • react/src/components/ - Reusable UI components
    • react/src/services/ - API communication
    • react/src/context/ - State management

Key Features

  1. Video Ad Processing

    • Upload YouTube URLs
    • Automatic object detection using YOLO
    • Store results in MongoDB
  2. Analytics Dashboard

    • Emotional response analysis
    • Object attention analysis
    • Viewer demographics
    • Key performance metrics
  3. AI Chatbot

    • Interactive analysis of ad data
    • Customizable queries
    • Multiple LLM options (via Ollama)
    • Comprehensive report generation
  4. User Management

    • Authentication and authorization
    • Ad library management
    • Settings and preferences

Technology Stack

  • Backend

    • FastAPI
    • MongoDB
    • PyTorch / YOLO for object detection
    • Ollama for local LLM access
  • Frontend

    • React
    • Material-UI
    • Chart.js for data visualization
    • Axios for API communication

Getting Started

See startup_instructions.md for detailed setup and running instructions.

License

Copyright © 2023 Your Name/Organization. All rights reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published