This repository contains a C++ implementation of a real-time video-to-ASCII converter. It takes input from a webcam or video file and generates an ASCII art representation of the video content. The project uses OpenCV library to handle video input and processing.
- Real-time video-to-ASCII conversion
- Supports input from webcam or video files
- Adjustable ASCII character set and resolution
- Easily customizable to suit your needs
- Cross-platform support (tested on Windows and Linux)
This project depends on the following libraries:
- OpenCV (>= 4.0)
- Install OpenCV and set up the environment.
- If you are using vim edit the compile_commands.json. Find the path of opencv and change with the path in compile_commands.json
- Modify the opencv path in build.sh
- Give permission to build.sh by:
$ chmod +x build.sh - Run in terminal:
$ ./build.sh
- Edit the path of video in main.cpp
- Run in terminal:
$ ./build.sh
Contributions are welcome! Please feel free to open an issue or submit a pull request if you find a bug, have a feature request, or would like to improve the project in any way.
This project is licensed under the MIT License.