this post was submitted on 21 Jan 2025
36 points (97.4% liked)

Programming

17870 readers
196 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

I wrote a program that turns the feed it receives from your webcam in ASCII art. It's open source: you can find the code on Github.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 2 days ago* (last edited 2 days ago)

I assume from that screenshot that there isn't color support, but if you're on Linux, you can do something similar locally with color support:

$ mpv -vo caca /dev/video0

At least on my Debian Trixie system, it looks like they aren't building mpv with aalib support anymore, an older monochrome image-to-text library, just libcaca, but I know that in the past mpv and mplayer have supported that as well.

This will, among other things, permit viewing video on a plain text console.