RuthvikJ/RealityFrame — reverse-engineered prompt
Reverse engineered prompt
Build me a Python webcam app called RealityFrame that feels like a fun AR filter playground. When it starts, it should ask me to step out of frame so it can learn the empty room, then let me step back in and control everything with hand gestures.
I want it to use the webcam in real time, track my hands, and show visual effects like normal view, vintage, ghost, thermal, and sketch. A pinch should cycle through the effects. If I make a photographer style frame with both hands, it should create a glowing portal between my fingers and only apply the current effect inside that portal. If I make a fist and hold it briefly, it should toggle a clone mode that cuts me out from the background and duplicates me on screen.
Please include simple keyboard fallbacks too, q to quit, r to record video, and number keys to switch effects. Keep the code organized into clear modules for camera, background calibration, gesture tracking, effects, rendering, and app state. Use current docs online if needed.
Want more depth? Deep Reverse