Sida 1 av 1

bild till text (i terminal)

Postat: 01 jul 2008, 14:33
av per9000
Finns det något program som gör något liknande detta (göra om bild till text i olika färg) i terminalen?
http://www.text-image.com/samples/eye.html

/Per

Re: bild till text (i terminal)

Postat: 01 jul 2008, 16:01
av Konservburk

Re: bild till text (i terminal)

Postat: 01 jul 2008, 16:34
av Emil.s
Konservburk skrev:http://libcaca.zoy.org/
Fy fan vad coolt! Tackar för den! :)

Re: bild till text (i terminal)

Postat: 02 jul 2008, 15:25
av per9000
Konservburk skrev:http://libcaca.zoy.org/
Världens bästa licens?
Libcaca was written by Sam Hocevar and Jean-Yves Lamoureux. It is free software, and can be used, modified and distributed under the terms of the Do What The Fuck You Want To Public License.
/Per

Re: bild till text (i terminal)

Postat: 02 jul 2008, 15:37
av Konservburk
per9000 skrev:Världens bästa licens?
Libcaca was written by Sam Hocevar and Jean-Yves Lamoureux. It is free software, and can be used, modified and distributed under the terms of the Do What The Fuck You Want To Public License.
Jag anser att the beer-ware license är betydligt bättre:

Kod: Markera allt

  /*
   * ----------------------------------------------------------------------------
   * "THE BEER-WARE LICENSE" (Revision 42):
   * <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you
   * can do whatever you want with this stuff. If we meet some day, and you think
   * this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp
   * ----------------------------------------------------------------------------
   */

Re: bild till text (i terminal)

Postat: 02 jul 2008, 15:41
av per9000
För att installera

Kod: Markera allt

sudo apt-get install caca-utils
För att köra i terminal

Kod: Markera allt

img2txt bild.png
/Per

Re: bild till text (i terminal)

Postat: 02 jul 2008, 16:43
av Kerath
libcaca är även bra till att se på film via terminalen (http://ubuntu-bossieman.blogspot.com/search/label/caca). ;)

Re: bild till text (i terminal)

Postat: 03 jul 2008, 21:11
av David Andersson
Kerath skrev:libcaca är även bra till att se på film via terminalen (http://ubuntu-bossieman.blogspot.com/search/label/caca). ;)
Skitkoolt! Kommandoraden för de som inte orkar följa länken:

Kod: Markera allt

mplayer -vo caca Duffy_-_Mercy.flv
AAlib gör samma fast svartvitt. Jag tycker det blir tydligare bild så:

Kod: Markera allt

mplayer -vo aa Duffy_-_Mercy.flv
Om du inte har AAlib:

Kod: Markera allt

sudo apt-get install libaa1