How pratikdhoriyani/virtual-dressing-room works
Project type and purpose
• This is a full-stack augmented-reality (AR) web application (“Virtual Dressing Room”) that uses a Python web server (Flask), OpenCV-based face/body detectors, and a static e-commerce UI.
• Purpose: capture live camera feed, detect user’s face/body, overlay selected apparel/accessory images in real time, and deliver it through a browser interface.
File structure
• Top-level “main.py” (Flask entry point) and supporting scripts: “camera.py”, “tryOn.py”, “tkinter_scroll.py”, “test.py”.
• Project/
• data/ (pretrained Haar cascades, landmark models, custom feature detectors)
• images/ (apparel/accessory image assets used for overlay)
• static/ (CSS, JS, fonts, vendor libs for front-end)
• templates/ (HTML views for website pages: index, product, checkout, etc.)
• Procfile (deployment hint for Heroku or similar)
• README.md (project description and run instructions)
README for additional insights
• Confirms Flask-style workflow: run “python main.py” → local host URL → standard browser UI with “TRY NOW” button launching AR overlay.
Elements
• Clear labels for: Browser, Flask Server, AR Engine, Data Store, External Libs.
• HTTP requests/responses (Browser ↔ Server)
• Video frame flow (Camera → AR Engine → Browser)
• Asset retrieval (AR Engine → Project/images & data files)
• Back-end components in another (e.g., green)
• Data/models in another (e.g., orange)