Your webcam as ASCII art
Your webcam as ASCII art
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.
Your webcam as ASCII art
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.
Very cool, works fine on my iPhone :)
Edgecase no camera perms:
At a glance I thought it says "finedude"
Yes, it just writes undefined
in that case. Not a priority to fix though, since most browsers will prompt to enable the camera.
It seems to be broken.
Update: it works on my desktop, but not on my phone or laptop.
When it does work, it's pretty good, though it could use some control to tune in exposure to pick up darker areas.
Correct, it may not work on mobile because the font size is 6pt and the line may be too wide for a phone. That's something I should fix. The exposure, however, probably just needs a slider to increase or decrease what is considered black.
Thanks for the honest feedback :)
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:
undefined
$ 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.
As others have mentioned, the line width makes it not work so well on mobile, even when putting it into landscape mode.
On desktop though it works. Until I leaned forwards and the undefineds start flying outwards from me.
Very neat project though!!
Now how can i direct this into a Teams or Zoom call. Make it Matrix style and that’ll be even more fun
That was my first thought. Next teams meeting is going up be fun.
That is wicked cool!
Thanks :)