ChangeLog 最新ページ / カテゴリ最新ページ / 1 2 3 4 次ページ / page 1 (4)

Linux - KazLog ChangeLog

最終更新時間: 2009-05-28 23:58

2009-05-28 Thu

Scala Programing Language [Linux]

2009-05-19 Tue

nhocr [Linux]

$ cd ./O2-tools-2.00

$ ./configure --prefix=/usr/local/ ; make ; sudo make install

$ cd ../nhocr-0.16

$ ./configure --prefix=/usr/local/ --with-O2tools=/usr/local ; make ; sudo make install

$ setenv NHOCR_DICDIR /usr/local/share

$ convert input.jpg input.pgm

$ nhocr -line -o output.txt test/hello.pgm


$ cd ../iulib-0.3

$ ./configure ; make ; sudo make install

$ cd ..

$ svn checkout http://tesseract-ocr.googlecode.com/svn/trunk/ tesseract-ocr

$ cd tesseract-ocr

$ ./configure ; make ; sudo make install

$ cd ../ocropus-0.3

$ ./configure --without-fst --without-leptonica; make ; sudo make install


$ cd ../nhocr-0.16/

$ vi ocropus/rec-nhocr-0.3.lua

/opt/nhocr -> /usr/local

$ sudo cp ocropus/rec-nhocr-0.3.lua /usr/local/share/ocropus/scripts/rec-nhocr.lua

$ setenv OCROSCRIPTS /usr/local/share/ocropus/scripts

// $ ocroscript recognize data/pages/alice_1.png

$ ocroscript rec-nhocr ~/Desktop/Screenshot.png


$ gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=jpeg -r300 -sOutputFile=kuwabara_01.%02d.pdf.jpg kuwabara_01.pdf


// ここまでは完璧.

// 後は、レイアウト。でも、MySQLに登録して、マッチングをかけるだけなら、もうできるはず。


$ cd ../weocr-toolkit-0.13

$ ./configure --prefix=/usr/local/ --with-O2tools=/usr/local ; make ; sudo make install

$ vi bin/execocr_tesseract.tmpl html/* cgi-bin/*

/opt/weocr -> /usr/local

/cgi-bin -> /weocr

$ sudo cp bin/execocr_tesseract.tmpl /usr/local/bin/execocr_tesseract

$ cd bin/; sudo cp filenorm run_xalan wo_cleandir /usr/local/bin ; cd -

$ mkdir /var/www/html/weocr/; cp html/* cgi-bin/* /var/www/html/weocr

$ sudo vi /etc/httpd/conf/httpd.conf

AddHandler cgi-script .cgi


Options FollowSymLinks ExecCGI

AllowOverride None

$ cd /var/www/html/weocr/; make ; cd -

(Location of error unknown)XSLT Error (javax.xml.transform.TransformerConfigurationException): getAssociatedStylesheets failed

make: *** [srvspec.html] Error 255

あれ?

// $ java -cp /usr/share/java/xalan-j2.jar org.apache.xalan.xslt.Process -HTML -IN srvspec.xml -OUT srvspec.html

// javaが悪い。OSをupdateしたらなおるかも。

// ということでpending


nhocrを使って、ocrと全文検索を組み合わせてみた

http://yes.kazumichi.org/

2009-04-22 Wed

ARtoolkit on FC5 [Linux]

$ sudo yum install freeglut-devel freeglut

$ ./Configure

1 y n n


cf. http://akita-nct.jp/yamamoto/comp/OpenGL/OpenGL.html

http://slashdot.jp/~MK/journal/429169

2009-04-22 Wed

Logicool Qcam Cool on FC5 [Linux]

http://mxhaard.free.fr/download.html

$ make && sudo make install

'owner'でこけるので、一部コメントアウト

cf. http://t.snkz.org/?cat=5

2009-04-11 Sat

hplip [Linux]

http://hplipopensource.com/


# sudo yum install libtool-ltdl-devel [riken]

http://www.gphoto.org/proj/libgphoto2/

# tar zxvf libgphoto2-2.4.5.tar.gz && configure --prefix=/usr && make && sudo make instlal


# sudo yum install python-ctypes


http://www.freedesktop.org/wiki/Software/dbus#head-ed92e8f84ae0374ae3a2e3f714c2eb0037a84868

# ./configure --prefix=/usr && make && sudo make install


http://dbus.freedesktop.org/releases/dbus-glib/

# ./configure --prefix=/usr && make && sudo make install


http://dbus.freedesktop.org/releases/dbus-python/

# ./configure && make && sudo make install


/*

https://answers.launchpad.net/hplip/+question/35150

# install SIP.tar.gz

# install PyQT3

/


# sh hplip-3.9.2.run


// not finished

// we have to upgrade Linux OS.

2009-03-25 Wed

2009-03-25 Wed

Font Install on FC5 [Linux]

$ sudo cp *.ttf /usr/share/fonts/japanese/TrueType

http://homepage3.nifty.com/nasunu-i/Fedora7/IPAFont.htm

2009-03-18 Wed

Skype on FC5 [Linux]

# yum install qt4 qt4-x11

# rpm -Uhv skype-2.0.0.72-fc5.i586.rpm

https://developer.skype.com/jira/browse/SCL-265

2009-03-18 Wed

making audio-cd from mp3 files on Linux [Linux]

2009-03-18 Wed

2009-03-17 Tue

HDD チェック [Linux]

# badblocks -vs -o hda1.bad /dev/hda1

http://blogs.dion.ne.jp/terasan/archives/250891.html

2009-03-17 Tue

font on FC5 [Linux]

/usr/share/fonts/japanese/

2009-03-04 Wed

403 error [Linux]

403 error has occored. blocked by SELinux when browsing javascript on FC5 HTTPD.

Change configuration via GUI [System]->[Administration]->[Security Level and Firewall]->[Modify SELinux Policy].

Allow and Disable all about HTTPD configurations.

2009-03-02 Mon

ffmpeg compile [Linux]

  • error occured

-- /usr/include/linux/videodev.h:56: error: expected specifier-qualifier-list before 'ulong'


  • countermeasure

$ ./configure --enable-gpl --enable-nonfree --enable-pthreads --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaadbin --enable-libmp3lame --enable-libvorbis --disable-muxer=v4l --disable-demuxer=v4l | & tee 0_config


ffmpeg concat

http://fixedpoint.jp/ffmpeg/faq.html#SEC30

2009-02-27 Fri

WLI-UC-GN [Linux]

SSID=WARPSTAR-08F12E

  • // or $ sudo iwconfig ra0 essid "WARPSTAR-08F12E"
  • $ sudo ifup /etc/sysconfig/network-scripts/ifcfg-ra0


  • cf.

http://pc11.2ch.net/test/read.cgi/linux/1214318174/l50

http://lab.siio.jp/index.php?How2Ubuntu

http://isaji.cheap.jp/popfulmail/index.php?%B0%CB%BB%B0%BC%A1%2F2008-07-31#aa6d982a

2009-02-15 Sun

Audacity on FC5 [Linux]

2009-02-15 Sun

2009-02-13 Fri

linux-wlan-ng svn [Linux]

$ svn co svn://svn.shaftnet.org/linux-wlan-ng/trunk

2009-02-11 Wed

Install modules via cpan [Linux][Perl]


# cpan

> o conf urllist push [URL]

> o conf urllist pop [URL]

> o conf commit

2009-02-08 Sun