More tricks this year for Halloween! This spooky mirror will turn anyone into a ghost! With the magic of deep learning and a camera you can have a live interactive mirror for the trick or treaters this year.
This year I thought about putting together something simple which all kids will enjoy. So why not have something like a fun mirror but using modern tech. Check out the demo video!
*****Still testing out these instructions**** Will update these soon.
Grab the code from my github page.
https://github.com/Botmation
Download the model weight from the Tensorflow demo site.
Grab the file named "mask_rcnn_inception_v2_coco"
Place the file in the models folder.
Setup EnvironmentI have chosen to build this project in Anaconda. If don't have it get it at https://www.anaconda.com/distribution/
On my github page look for "halloween.yml"
Open the anaconda prompt.
Navigate to the project folder location. Then create a new environment using my template.
conda env create -f halloween.ymlThis will create a custom python environment with all the requirements automatically. It may take some time to build. Then activate the environment.
conda activate halloween
Run the codepython cam_mask_rcnn.py








Comments