This is complementary source code for my blog post.
Here is the YouTube demo.
- Python3.5
- PyTorch
- numpy
- opencv 1.0.1+
- opencv-python 3.3.0+contrib
Tested on:
- Windows 10 with PyTorch GPU
-
Install CUDA 9 from Nvidia Developer website.
-
Install PyTorch with CUDA 9 support
-
Install other Python libraries by pip.
pip3 install -r requirements.txt
Plugin in a USB webcam, then run.
python3 DeepMagicMirror.py
For more instructions, check out my tutorial.