What is Anamorphic 3D?
The magic is geometric warping: we compute how "deep" each part of the image is, then push pixels outward from the screen center proportional to their depth. The viewer's brain interprets this distortion as perspective, creating the illusion of 3D content.
How It Works
1. Estimate a depth map from the image (edge detection + distance transform)
2. Warp pixels outward from center proportional to depth (radial displacement)
3. Enhance colors for LED vibrancy (saturation ×1.8, brightness ×1.3)
displacement = depth(x,y) × strength × radial_distanceFor each pixel, we:
• Compute distance from image center
• Multiply by depth value and strength parameter
• Push pixel outward in radial direction
• Result: 3D pop-out illusion
3D Perspective Animation
The box below rotates in 3D space. This demonstrates perspective transformation similar to how anamorphic warping creates depth illusions.
Key Features
⚡ Lightning Fast
~0.5 seconds per image on any CPU. Process 2000+ images per hour. No GPU required.
🎯 No ML Models
Pure NumPy/OpenCV implementation. Self-contained, no heavy dependencies or model downloads.
🔧 Fully Extensible
Drop-in MiDaS integration for production-grade depth. Custom parameter tuning per image.
📊 Real-World Ready
Designed for actual LED billboard deployment. Works with Seoul-style content and dynamic ads.
Technology Stack
Built With:
Why This Matters
Cost Comparison:
• Manual content creation: $5,000-$15,000 per image
• This AI approach: <$1 per image (fully automated)
• Savings at scale: 50-150× cheaper
Time Comparison:
• Manual: 40-100 hours per image
• Automated: 0.5 seconds per image
Business Impact: Dynamic ad networks can now generate unlimited anamorphic content in real-time, opening new revenue streams.
Ready to Explore?
Check out the full Jupyter notebook for interactive demos, depth visualizations, and technical deep dives.
📓 View Jupyter Notebook 📖 Read Full DocumentationProject Details
📚 Course
DSC670 Applied Deep Learning
Bellevue University
👤 Author
Komal Shahid
2026
📁 Repository
project3-colorful-canvas
/src, /notebooks, /output
⚙️ Setup
pip install -r requirements.txt
Then: jupyter notebook