This code is based on following paper and project:
create conda env with python 3.7
conda create -n cartoon python=3.7
install tensorflow 1.15
conda install -c anaconda cudatoolkit=10.0
conda install -c anaconda cudnn=7.6.5
pip install tensorflow-gpu==1.15
install requirements
conda env update --file cartoon_env.yml --prune
- extract frames into images:
python step_1_extract_frames.py
- run cartoonize:
python cartoonize.py
- create cartoonized video
python step_3_create_video.py
- Set custom frame rate in step 1 and step 3
- images ==> ./test_images
- run cartoonize:
python cartoonize.py
Real Image | Cartoonized Image |
---|---|