Inspiration
Preparing pre-release films and theatrical trailers for global certification boards such as India's CBFC, the United States' MPAA, and the UK's BBFC is historically slow, manual, and expensive. More critically, the media entertainment industry faces catastrophic financial damage if unreleased footage leaks. Traditional cloud-based AI tools require uploading raw footage to external servers, creating a major vulnerability for intellectual property theft.
We set out to build CensorVision Studio PRO: an autonomous, desktop-native film auditing and remediation suite powered by a Zero-Retention Architecture. By executing multimodal AI locally and ephemerally, studios can audit and censor trailers in minutes without a single frame or transcript leaking into an external cloud database.
What It Does
CensorVision Studio PRO transforms trailer compliance from a multi-day manual editing process into an automated, edge-first workflow:
Offline Multimodal Audit: Ingests unrated video trailers, synchronizes real-time subtitles via an embedded Whisper engine, and samples keyframes across the timeline.
Jurisdiction-Aware Policy Engine: Evaluates visual scenes against statutory standards (CBFC, MPAA, BBFC) using Gemini 2.0 Flash, plotting an interactive timeline classified by rating tiers such as U, UA 13+, UA 16+, and A.
Interactive Co-Director Agent: Provides an in-studio regulatory advisor that explains specific policy violations and offers compliant recut recommendations.
Targeted Neural Remediation: Automatically generates a target-rated cut by applying YOLOv8 object tracking, OpenCV HSV chromatic masking for blood and wounds, and contour isolation. Flagged visual violations are dynamically blurred while preserving faces, backgrounds, and cinematography, accompanied by synchronized audio muting.
How We Built It
We engineered CensorVision as a fully self-contained desktop system:
Backend and Desktop Shell: Built with Python, Flask, and PyDesktop/PyWebView, bundled into a standalone Windows binary via PyInstaller and deployed with Inno Setup.
Multimodal Keyframe Analysis: Uses Google Gemini 2.0 Flash to evaluate keyframe sequences against regulatory statutory rubrics with strict JSON structured outputs.
Edge Audio Transcription: Integrates OpenAI Whisper locally to generate WebVTT closed captions without cloud roundtrips.
Computer Vision and Video Processing: Leverages Ultralytics YOLOv8 for spatial entity tracking, OpenCV for precise chromatic and contour-based masking, and MoviePy for audio manipulation and frame-accurate video concatenation.
Zero-Retention Data Model: All intermediate buffers, frames, and audit metadata remain strictly within volatile memory or ephemeral local caches, ensuring true data sovereignty.
Challenges We Ran Into
Granular Video Remediation vs. Over-Blurring: Standard object detection bounding boxes initially blacked out entire actors and vehicles. We engineered a hybrid pipeline combining YOLO person tracking with OpenCV HSV color-space thresholding to isolate and blur only sensitive skin contours and visceral red or blood pixels.
Local Packaging and Path Collisions: Bundling deep learning weights like Whisper and YOLO with dynamic Flask routing in PyInstaller introduced complex frozen-executable path collisions and permission blocks in system directories, which we resolved by implementing dynamic local application data path resolution.
Handling Strict API Rate Limits: High-frequency keyframe batch audits risked hitting rate-limit thresholds. We implemented exponential backoff logic and strict JSON response configurations to maximize throughput and stability.
Accomplishments That We're Proud Of
Designed and proved a Zero-Retention Architecture specifically tailored to film industry IP protection standards.
Achieved fully automated, frame-accurate recutting and targeted blurring on local hardware without manual editor intervention.
Shipped a single-click desktop installer that delivers an enterprise-grade dark-mode UI, synchronized side-by-side viewports, and an interactive compliance timeline.
What's Next for CensorVision Studio PRO
Local VLM Integration: Adding quantized open-source vision-language models like SmolVLM or LLaVA for 100% air-gapped environments with zero external network connectivity.
Dynamic Audio Bleeping and Dialogue Masking: Enhancing the Whisper pipeline to detect specific profanity timestamps and replace isolated dialogue syllables with standard censorship tones rather than muting entire segments.
Direct NLE Export: Building export plugins for DaVinci Resolve and Adobe Premiere Pro XML edit decision lists.
Built With
- flask
- gemini-2.0-flash
- html5
- javascript
- moviepy
- openai-whisper
- opencv
- pyinstaller
- python
- tailwindcss
- yolov8
Log in or sign up for Devpost to join the conversation.