Your webcam as ASCII art
(kaamkiya.github.io)
from kaamkiya@lemmy.ml to programming@programming.dev on 21 Jan 18:30
https://lemmy.ml/post/25043892
from kaamkiya@lemmy.ml to programming@programming.dev on 21 Jan 18:30
https://lemmy.ml/post/25043892
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.
threaded - newest
It seems to be broken.
<img alt="" src="https://lemmy.world/pictrs/image/19ed04c9-5bfc-4019-9af3-239a4c2d9b39.png">
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.
<img alt="" src="https://lemmy.world/pictrs/image/c5fb21d1-6f04-4127-bfd6-165ae04b6f41.png">
Works for me.
.
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:
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 pastmpv
andmplayer
have supported that as well.This will, among other things, permit viewing video on a plain text console.
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 :)
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.
<img alt="" src="https://sh.itjust.works/pictrs/image/22c8bc04-d8ef-4da5-a5fa-9d84f8af861b.png">
Very neat project though!!
That picture goes hard
I remember when YouTube had a filter option to watch videos in ASCII for April Fools one year. Now I can do it whenever I want :D
You’ll love VLC’s caca support: wiki.videolan.org/Video_Output/
(fun fact: “Kaka” in German is child’s speech for “poop”. Seems to be the same in French , looking at libcaca’s page)
Edgecase no camera perms:
<img alt="" src="https://lemm.ee/pictrs/image/c850eacb-27cf-465d-bdb9-5eaec8612c7c.jpeg">
At a glance I thought it says “finedude”
That is wicked cool!
Now how can i direct this into a Teams or Zoom call. Make it Matrix style and that’ll be even more fun
Ever heard of hasciicam?
If you’re on mobile, make sure to put the website in Desktop mode in your browser. That makes the picture show up properly.