RameshAditya / asciify

Convert any image into ASCII Art.
1.14k stars 166 forks source link

Feature/issue #9: added video support along with playback speed ;-) #10

Open vishal-wadhwa opened 5 years ago

vishal-wadhwa commented 5 years ago

Implements #9

To manipulate text over console I used asciimatics over curses because of cross-platform compatibility. Also, added a requirements.txt for quick install of all the dependencies:

pip install -r requirements.txt.

Added two switches -i for image and -v for video. Playback speed is expected to be a float supplied after the video file path.

Syntax 1: python asciify.py -i IMAGE_FILE
Syntax 2: python asciify.py -v VIDEO_FILE
Syntax 3: python asciify.py -v VIDEO_FILE PLAYBACK_SPEED

Please review this code and let me know if you feel anything is out of place.

Thank you :)

RameshAditya commented 5 years ago

Awesome! I'll test and merge this in a couple of hours - looks great! :slightly_smiling_face: