2009-01-01から1年間の記事一覧

ARToolkit for 64bit Linux and YUV422 patch

64bit Linux + YUV422 CameraでARToolkitを動かす。 最新版ARToolKit対応のV4L2用のパッチ作った を拡張したパッチを作成。 http://staff.aist.go.jp/k.kojima/artoolkit/artk-yuv422-v4l2-2.72.1.20090801.patch動作環境 Debian:linux-image-2.6.26-2-amd64…

boost matrix serialization

boost::numeric::ublas::matrixをserializeする方法。 serializationには、boostを事前にコンパイルしておく必要あり。1 cd boost_install_dir 2 ./bootstrap.sh 3 ./bjam boost_install_dir/stage/libにライブラリが作成される。 ld.so.conf.dにboost.conf…

ホストOS:Debain lenny ゲストOS:windows xpでサウンド設定

ホストOS:Debain lenny、ゲストOS:windows xpで音をならす/usr/share/alsa-base/snddevices を実行。 snddevicesがない場合は、alsa-baseをインストール。/dev/dspが作成される。.vmxファイルのsound設定を # ----- Sound ----- sound.present = "TRUE" soun…

livedoorクリップとSQLite3

livedoorクリップをSQLite3に読み込むcat clip.org.csv | sed -e 's/^\"//g' | sed -e 's/\"$//g' > clip.csvcreate_cliptable.sql - create table clip ( user_id int not null, url varchar(255) not null, timestamp timesatmp, tags text ); - sqlite3 c…