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.

  • BradleyUffner@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 day ago

    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.

    • kaamkiya@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 day ago

      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 :)

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 day 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.