This Python application captures video from your webcam and converts it to real-time ASCII art. The program uses OpenCV for webcam capture and converts each frame into ASCII characters that are displayed in the terminal. The ASCII art automatically adjusts to your terminal window size!
- Python 3.8+
- Webcam
- Terminal
- Clone this repository
- Create and activate virtual environment:
python3 -m venv venv
source venv/bin/activate # On Unix/macOS
# or
.\venv\Scripts\activate # On Windows
- Install the required dependencies:
pip install -r requirements.txt
Run the main script:
python ascii_webcam.py
- Press 'q' to quit the application
- Press 's' to save the current ASCII frame
- Resize your terminal window to adjust the ASCII art resolution!