This project does a lot. It removes backgroun screen, detects T-shirt in almost any light conditions, replaces T-shirt color.
Watch demo here.
- Green backdrop like this
- Use have to wear blue t-shirt - as it detects only blue color
- Computer with Camera
- Python (2.7)
- OpenCV Python bindings
- NumPy, Gdk
In this mode VDR will not require camera. It will use recorded video for processing.
To use this is mode set environment variable VDR_TEST=1
.
For Example,
akash@SkyFall:~/repos/virtual-dressing-room$ VDR_TEST=1 python vdr
You can change width
and height
defined in vdr/config.py
file according to your camera capability.
I will try to add requirements.txt soon.