
Muthu Photo Studio 📸
A green-screen event photo booth that runs entirely in the browser. It was used live at the Nagarathar Association (Singapore) Kalai Nigalchi / June Jolly Jamboree 2026 cultural night, where guests were photographed and received print-ready framed photos in seconds.
Features
Real-time chroma-key (green-screen) removal, written from scratch with HTML5 Canvas pixel manipulation (getImageData / putImageData). No libraries.
7+ built-in templates (official event frame and kids' themes) plus a custom template builder
Zoom and pan controls for precise framing
4R print-ready JPEG export (1200 × 1800 px, 97% quality) with sequential file naming (KN2026_0001.jpg …)
Google Drive auto-uploader (muthu_uploader.py): a Python script that uses OAuth 2.0 to watch the output folder and upload photos so guests can download them
Works offline as a single HTML file, with the logo and assets embedded as Base64
Tech stack
HTML5 Canvas 2D · vanilla JavaScript · CSS3 · Python 3 · Google Drive API · OAuth 2.0 (google-auth-oauthlib)
Run
Photo app: open Muthu-photo-appV3.0.html in Chrome. No install needed.
Drive uploader (optional):
pip install google-auth google-auth-oauthlib google-api-python-client # Put your own OAuth client ID/secret into CLIENT_ID / CLIENT_SECRET in muthu_uploader.py python muthu_uploader.py
Documentation
Full technical documentation covering architecture, the green-screen algorithm and the compositing pipeline: MuthuPhotoStudio_TechnicalDocumentation.md
Author
Lakshmanan Muthuraman (Muthu): freelance React / JavaScript and mobile app developer, Singapore.
0 likes · 0 views · Nov 9, 2026
Browser photo booth with green-screen removal written from scratch on HTML5 Canvas. 4R print-ready photos in seconds at a live 2026 cultural night.