TzurSoffer/deleteMe ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python webcam app that makes a person disappear from the video when they close their fist.
I want a simple window where I can first capture an empty background, then start the live effect. During setup, show a preview so I can step out of frame, capture the background, and cancel if needed. After that, the app should keep the camera running and remove the person from the frame when it detects a closed fist, using the saved background to fill in the scene. If the camera cannot open, show a clear message. Save the background image locally so I can reuse it next time.
Please make it work on Windows, macOS, and Linux with a webcam, and keep the controls easy, with q or Esc to quit from the camera windows. If you need to, look up the current docs online before wiring up the hand detection and camera parts.
Are you gonna build this?
make sure you review the code using coderabbit