#194 · Primary category: Video & Animation

ASCII-generator

ascii ascii-art ascii-generator character-ascii cv2 opencv pil python python3

ASCII generator (image to text, image to image, video to video)

Project last updated:11/22/24

GitHub Stars

8.3K

Forks

655

Contributors

1

License

MIT

Why we included this project

This Python toolkit converts images and video into ASCII art using OpenCV, with no GPU or model downloads involved. Feed it a photo and it can save plain text you can paste anywhere, or produce a new image file where characters replace pixels. Point it at a video and the scripts process each frame, turning footage into ASCII-styled AVI or MP4 clips with your choice of grayscale, color, and light or dark backgrounds. A nice extra is alphabet support: instead of being stuck with the classic English character set, you can generate art in German, Korean, Chinese, Japanese, or other scripts. The code is short enough to adapt for custom resolutions or alphabets, which makes it appealing for hobbyists, streamers after ASCII overlays, and developers curious about character-based rendering.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category