TrendTracer is a web-based AI media fingerprinting system built for a hackathon setting. It helps a creator or rights-holder upload original videos, generate fingerprints from both the visual and audio content, and then simulate a web-wide scan to detect suspicious reuploads.
The core idea is simple: if someone uploads an original video, the system should be able to recognize similar versions of that content elsewhere, estimate how strong the match is, classify whether the upload appears authorized, and present the result in a clean, understandable dashboard.
Creators lose visibility and revenue when their videos are reposted across platforms without permission. In the real world, tracking this manually is slow, fragmented, and hard to scale.
TrendTracer demonstrates a lightweight version of that workflow:
- Upload an original video
- Generate visual and audio fingerprints
- Compare that fingerprint against a simulated “internet”
- Classify suspicious matches as authorized or unauthorized
- Assign a risk level based on similarity and repeat occurrences
- Show trend-style metadata to simulate how copied content spreads over time
The current prototype supports three main flows:
-
Your Videos
- Upload a video from the frontend
- The backend stores the file and generates:
- a visual embedding from extracted frames
- an audio fingerprint from MFCC features
- Fingerprints are saved in SQLite
-
Check Web
- Runs a local scan against videos inside
backend/videos - This folder acts as a mock version of the internet
- Each video in that folder is fingerprinted and compared to uploaded videos
- Matching results are returned with similarity scores and metadata
- Metadata is grouped into a trend-style view so the UI can simulate how videos spread across platforms over time
- Runs a local scan against videos inside
-
Copyright Strike
- Converts scan results into violations
- Marks each result as:
authorizedif uploaded byofficial_accountunauthorizedotherwise
- Assigns a risk level:
- high for strong matches or repeated occurrences
- medium/low otherwise
- Stores these results in the database for review
This project is more than a static dashboard. The core backend logic is functional:
- real video upload handling
- real frame extraction with OpenCV
- real feature embedding with a pretrained ResNet model in PyTorch
- real audio fingerprint extraction with Librosa
- real similarity comparison using vector math
- real persistence using SQLite
- deterministic mock-web scanning for demo reliability
For a hackathon, that balance matters: the project shows an AI-powered media protection workflow, but keeps the “internet scan” local and reproducible so the demo stays stable.
When a user uploads a video:
- the backend saves the file
- OpenCV extracts frames at intervals
- PyTorch + torchvision use a pretrained ResNet backbone to generate frame embeddings
- frame embeddings are averaged into a single visual representation
- ffmpeg extracts the video’s audio
- Librosa computes MFCC-based audio features
- both fingerprints are stored in the database
During a scan:
- each mock-web video is fingerprinted using the same pipeline
- cosine similarity is used to compare visual embeddings
- only matches above the threshold are returned
- audio distance is also computed for debugging and internal comparison
Each scan result is classified by a separate analysis layer:
- authorization status
- similarity-based risk
- repeated occurrence escalation
This makes it easy to change the logic later without rewriting the scanner.
ReactViteTailwind CSS
The frontend provides a simple 3-page workflow:
- upload source videos
- run scan simulation
- review violations and trend activity
FastAPISQLAlchemySQLite
The backend exposes the API, stores video records and violation records, and orchestrates the fingerprinting and scan logic.
OpenCVfor video frame extractionPyTorch+torchvisionfor pretrained visual embeddingsLibrosafor MFCC-based audio fingerprintingNumPyfor aggregation and similarity mathffmpegfor audio extraction from video files
TrendTracer/
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ ├── App.jsx
│ │ └── index.css
├── backend/
│ ├── database/
│ │ ├── db.py
│ │ └── models.py
│ ├── services/
│ │ ├── analysis.py
│ │ ├── audio_processing.py
│ │ ├── embedding.py
│ │ ├── fingerprinting.py
│ │ ├── scanner.py
│ │ └── video_processing.py
│ ├── videos/
│ │ └── metadata.json
│ └── main.py
└── README.md
-
POST /upload-video- uploads a video
- generates visual and audio fingerprints
- stores the result
-
GET /videos- lists uploaded videos and stored fingerprint sizes
-
POST /scan- scans the local mock-internet folder
- returns:
- summary stats
- matching results
- trend data
- metadata used in the simulation
- also stores classified violations
-
GET /violations- returns stored violation records for the frontend
A good way to present TrendTracer in a hackathon demo:
- Upload an original video in Your Videos
- Explain that the system fingerprints both visuals and audio
- Move to Check Web
- Trigger the scan and explain that
backend/videosis acting as a controlled simulation of the web - Show similarity scores and metadata
- Highlight the trend chart as a simulation of how reposted content appears over time across platforms
- Move to Copyright Strike
- Show how the system turns raw matches into actionable risk and authorization insights
That tells a full story: ingestion, AI analysis, match detection, and decision support.
Real web scraping is noisy, rate-limited, and unreliable for a hackathon demo. Instead of pretending to scrape live platforms, TrendTracer uses a local folder as a mock internet.
This gives three benefits:
- deterministic results
- faster demos
- easier debugging and testing
The important part is that the fingerprinting and comparison pipeline is real, even if the external source is simulated.
This prototype already supports:
- working frontend upload flow
- working backend fingerprint generation
- stored video records
- local scan simulation
- violation classification
- trend-style metadata visualization
Possible future upgrades:
- CLIP-based multimodal embeddings
- approximate nearest-neighbor search for larger datasets
- real platform integrations
- takedown workflow automation
- creator analytics and reporting exports
TrendTracer is a practical demo of AI-assisted copyright monitoring. It combines media fingerprinting, similarity search, metadata-driven trend simulation, and violation scoring into one clean experience.
For a hackathon, it shows a believable product direction with real technical substance behind the interface.