Convert videos into colorful ASCII art for terminal display using Python and OpenCV.
This project provides a Python script that takes a video file as input and converts each frame of the video into ASCII art. The resulting ASCII art frames are displayed in the terminal, creating a unique visual experience. The conversion is achieved by mapping pixel colors to corresponding characters from a predefined character set.
- Convert video frames into colorful ASCII art.
- Customizable character set and color mapping.
- Automatic resizing of frames to fit terminal dimensions.
-
Install the required dependencies:
python3 -m pip install numpy opencv-python
-
Run the script with a video file as an argument:
python3 main.py path_to_video.mp4
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license. This means you are free to use and modify the code for non-commercial purposes, provided you give appropriate attribution.
This project was inspired by this GitHub Repository.
Contributions are welcome! Feel free to fork this repository, make improvements, and submit a pull request.
The software is provided "as is," without warranty of any kind. The authors and contributors shall not be liable for any claim, damages, or other liability arising from the use of the software.