Skip to content

Just for fun after work……original goal is to make a Jiang Zemin's Ascii video screensaver for "toad worship"

License

Notifications You must be signed in to change notification settings

PengJiaqiao/Video2Ascii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video2Ascii

Just for fun after work……original goal is to make a Jiang Zemin's Ascii video screensaver for "toad worship"

Usage

Prerequisites

(tested on) Ubuntu 16.04, python 3.5.2 with:

pip3 install Pillow  
pip3 install opencv-python

Demo

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)  

Result

## TODO * Try to optimize it, making the Ascii video real-time * Implement an Ascii dynamic wallpaper or screensaver * Image2AsciiImage, Video2AsciiVideo, AsciiCamera...

About

Just for fun after work……original goal is to make a Jiang Zemin's Ascii video screensaver for "toad worship"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages