Just for fun after work……original goal is to make a Jiang Zemin's Ascii video screensaver for "toad worship"
(tested on) Ubuntu 16.04, python 3.5.2 with:
pip3 install Pillow
pip3 install opencv-python
python main.py --help
command required:
--file test.mp4 or test.jpg (default path in Video2Ascii/files)
--mode Video2Image or Video2Ascii or Image2Ascii
selective:
--output video_name/video_split.jpg or output.txt (default path in Video2Ascii/output)
--cols 100
--scale 0.5 (vertical scaling factor - higher leads a longer face)