Skip to content

rishi23root/ASCII_video

Repository files navigation

ASCII_video

create ascii videos 😎😎😎😎😎.

Requirement

  • pip install opencv-python

optional arguments (for image):

  • -h, --help show this help message and exit
  • -f FILE, --file FILE name of the file you wanna use with extention !
  • -c, --commandLine this art will use in command line display
  • --pbs PBS pixle block size | smaller the number much fine result and but slow processing (default = 15 )

optional arguments (for video):

  • -h, --help show this help message and exit
  • -f FILE, --file FILE name of the file you wanna use with extention !
  • -o OUTFILE, --outfile OUTFILE name of the output file !
  • --fps FPS fps of the output videos ! (default = 20)
  • --pbs PBS pixle block size | smaller the number much fine result and but slow processing (default = 15 )

setup

  • clone the repo git clone https://github.com/rishabhjainfinal/ASCII_video.git
  • cd ASCII_video
  • then run the python program python -video_to_ascii.py -f testing_data/a-better.mp4 --fps 30 --pbs 20
  • or run the python program python image_to_ascii.py -f testing_data/abc.jpg

examples

For Image

For video results check

Ascii_video.mp4 & Ascii_video2.mp4 & Ascii_video3.mp4 in this repo made from testing_data/a-better.mp4 given in the order of quality

you need to clone the repo to play the video files 😶.

alert

This repo is good for only small videos. 🙂

About

create vidoe in the ascii format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages