===================================================== Casper Cartridge File Ver.4.73E (casper-rw_471E) / verico-Q Time-stamp: 2011/11/02, 03:33 JST (last updated on Panasonic CF-Y8) kameda[at]iit.tsukuba.ac.jp http://www.kameda-lab.org/casper ----------------------------------------------------- Firefox plug-in > DownloadHelper 4.9.5 libsvm $ cd $ mkdir libsvm-work $ cd libsvm-work $ unzip ~/Download/libsvm-3.1.zip $ cd libsvm-3.1 $ make (How to Use? See ../PracticalGuide-libsvm.pdf and original www page.) chkconfig, for managing OS tasks (including logging) $ sudo apt-get install chkconfig --- run --- $ sudo chkconfig R, a language for data analysis and graphics $ sudo apt-get install r-base --- run --- $ R > demo(graphics) > demo(image) > demo(persp) > demo(plotmath) > q() ... then type n Clearing apt cache $ df $ sudo apt-get clean $ df Revisiting qt4 / qtdemo $ sudo apt-get install qt4-demos --- run --- $ qtdemo > click "Demonstrations" (at left-side, top) > click "Affine Transformations" (at left-side, top) > click "Launch" (at the bottom pane) > ... polyora-1.0.2 $ cd $ mkdir Polyora-work $ cd Polyora-work $ unzip ~/Downloads/polyora-1.0.2-Source.zip $ mv polyora-1.0.2-Source polyora-1.0.2-Source-Ubuntu $ cd polyora-1.0.2-Source-Ubuntu $ patch -p0 < ~/Downloads/polyora-1.0.2-YYYYmmdd.patch $ cmake . $ make --- run --- $ cd $ cd Polyora-work $ mkdir sample-data $ cd sample-data $ unzip ~/Downloads/polyora-data.zip (plug a USB camera) $ ../polyora-1.0.2-Source-Ubuntu/vobj_tracker/vobj_tracker (type H when camera watches a card, it will be registered) (Once succeeded, you'll see 5x5 thin white mesh on the card) (You can register many cards) (If camera watches a card for seconds, its performance will be improved) Qt, a cross-platform application and UI framework sudo apt-get install qt4-dev-tools stop rsyslog to save disk space (later, you need to chkconfig though you need to apt-get install) $ sudo service rsyslog stop USB Memory Stick/casper-rw (Verico-Q) Cook USB in the same way of 4.5E (verico-J) except that casper-rw as 0MB After burning is done, cp the image of 4.71E (a snapshot of verico-P / 471E_20111028-1358JST) to the USB. ===================================================== Casper Cartridge File Ver.4.71E (casper-rw_471E) Time-stamp: 2011/10/27, 13:47 JST (last updated on Panasonic CF-Y8) kameda[at]iit.tsukuba.ac.jp http://www.kameda-lab.org/casper ----------------------------------------------------- Small fixes. PTAM-TrakMark updated (See Download/PTAM-Trakmark-20111027.patch) kill emacs error: $ sudo gedit /usr/share/themes/Ambiance/gtk-2.0/gtkrc GtkRange::trough-under-steppers = 1 (originally 0) eclipse c/c++ environment: $ eclipse > Help->Install New Software ->Work with: "Galileo Update Site .."->Programming Languages-> ->Eclipse C/C++ Development Tools(6.0.2.201002161416) ===================================================== Casper Cartridge File Ver.4.70E (casper-rw_470E) Time-stamp: 2011/10/26 (last updated on Panasonic CF-Y8) kameda[at]iit.tsukuba.ac.jp http://www.kameda-lab.org/casper ----------------------------------------------------- OpenCV-2.3.1, PTAMM v1.3, PTAM r114, ARToolKit 2.7.21, BazAR 1.3.1, voodoo-1.1.0, PTAM-TrakMark PTAM-TrakMark $ cd PTAM-work $ unzip ~/Downloads/PTAM-r114-20100129.zip $ mv PTAM PTAM-TrakMark $ cd PTAM-TrakMark $ patch -p0 < ~/Downloads/PTAM-TrakMark-20111026.patch $ make --- run --- (Prepare TrakMark BlueRayDisc and mount it) (Check "VideoSource.root" and "ReferenceFile.root" in settings.cfg, default is /media/TrakMark) $ ./PTAM voodoo-1.1.0 $ cd $ mkdir voodoo $ cd voodoo $ tar xvfz ~/Downloads/voodoo-x86linux-1.1.0.tar.gz $ cd voodoo-x86linux-1.1.0 --- run --- $ export LD_LIBRARY_PATH=`pwd`/bin $ bin/voodoo (File->Open->Sequence) (Directory: Browse: -> samples_image_sequence -> tripod_rotation -> uni.00.tga -> Open) (OK) (Click "Track", the right-bottom button) (Use play buttons to review) BazAR 1.3.1 $ cd $ mkdir BazAR-Ubuntu $ cd BazAR-Ubuntu (glew) $ tar xvfz ~/Downloads/glew-1.7.0.tgz $ cd glew-1.7.0 $ make $ sudo make install $ make clean $ cd .. (BazAR) $ tar xvfz ~/Downloads/bazar-1.3.1.tar.gz $ cd bazar-1.3.1 $ ./configure $ make $ ./samples/multicam/multigl --- run --- (plug a USB camera) $ mkdir 99sandbox $ cd 99sandbox $ ../samples/multicam/multicam ARToolKit 2.7.21 $ cd $ tar xvfz Downloads/ARToolKit-2.7.21.tgz $ mv ARToolKit ARToolKit-Ubuntu $ patch -p0 < ~/Downloads/ARToolKit-20111016-1005.patch $ ./Configure $ make --- run --- (print patterns.pattHiro.pdf or at least display it) (plug a USB camera) $ cd bin $ ./simpleLite PTAM r114 (see chap.13 of manual.pdf in ptamm.zip) Assuming that you have already installed PTAMM v1.3 and associated libraries. $ cd $ cd PTAM-work $ unzip ~/Downloads/PTAM-r114-20100129.zip $ mv PTAM PTAM-UbuntuOpenCV $ cd PTAM-UbuntuOpenCV $ patch -p0 < ~/Downloads/PTAM-r114-20111015-2321.patch $ make --- run --- (print calib-pattern.pdf) $ ./CameraCalibrator-OpenCV {-coloron} {camera-id|videofile|streamingURL} (got camera.cfg? ok.) $ ./PTAM-OpenCV {-coloron} {-lightoff} {camera-id|videofile|streamingURL} PTAMM v1.3 See chap.13 of manual.pdf in ptamm.zip Slightly modify the codes for some options (See ~/Downloads/PTAMM-v1.3-20111017-1847.patch) $ cd $ mkdir PTAM-work $ cd PTAM-work (TooN) $ cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/toon co -D "Mon May 11 16:29:26 BST 2009" TooN $ mv TooN TooN-Ubuntu $ cd TooN-Ubuntu $ ./configure; sudo make install (libcvd) $ cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/libcvd co -D "Mon May 11 16:29:26 BST 2009" libcvd $ mv libcvd libcvd-Ubuntu $ patch -p0 < ~/Downloads/libcvd-20111015-2330.patch $ export CXXFLAGS=-D_REENTRANT $ ./configure --without-ffmpeg $ make -j3 $ sudo make install $ sudo ldconfig $ make clean $ export CXXFLAGS= $ cd .. (gvars3) $ cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/libcvd co -D "Mon May 11 16:29:26 BST 2009" gvars3 $ wget http://lib3ds.googlecode.com/files/lib3ds-20080909.zip $ unzip lib3ds-20080909.zip $ mv gvars3 gvars3-Ubuntu $ patch -p0 < ~/Downloads/gvars-20111015-2337.patch $ ./configure --disable-widgets $ make -j3 $ sudo make install $ sudo ldconfig $ make clean $ cd .. (lib3ds) $ wget http://lib3ds.googlecode.com/files/lib3ds-20080909.zip $ mv lib3ds-20080909.zip ~/Downloads $ unzip ~/Downloads/lib3ds-20080909.zip $ mv lib3ds lib3ds-Ubuntu $ ./configure $ make -j3 $ sudo make install $ sudo ldconfig $ make clean $ cd .. (PTAMM v1.3) $ unzip ~/Downloads/ptamm.zip $ mv PTAMM PTAMM-UbuntuOpenCV $ cd PTAMM-UbuntuOpenCV $ patch -p0 < ~/Downloads/PTAMM-v1.3-20111017-1847.patch $ make --- run --- (read manual.pdf in the directory!) (print calib-pattern.pdf) $ ./CameraCalibrator-OpenCV {-coloron} {camera-id|videofile|streamingURL} (got camera.cfg? ok.) $ ./PTAMM-OpenCV {-coloron} {-lightoff} {-camera camera.cfg} {-command commandssample.cfg} {camera-id|videofile|streamingURL} OpenCV-2.3.1 (It takes 12 min or so ...) $ cd $ tar xvfj Downloads/OpenCV-2.3.1.tar.bz2 $ cd OpenCV-2.3.1 $ cmake -D WITH_TBB=YES . $ make $ sudo make install $ sudo ldconfig $ make clean --- run --- (plug a USB camera) $ cd samples/cpp $ gcc -o starter_video starter_video.cpp `pkg-config --cflags opencv` `pkg-config --libs opencv` $ ./starter_video 0 USB Memory Stick/casper-rw (Verico-P) Cook USB in the same way of 4.5E (verico-J) except that casper-rw as 0MB After burning is done, cp the image of 4.62E (verico-O) to the USB. ===================================================== Casper Cartridge File Ver.4.62E (casper-rw_462E) Time-stamp: 2011/10/26 (last updated on Panasonic CF-Y8) kameda[at]iit.tsukuba.ac.jp http://www.kameda-lab.org/casper ----------------------------------------------------- apt-gets before opencv and ptam/ptamm For libsvm $sudo apt-get install gnuplot-x11 For something that is needed for glut comiling BaZAR?? I cannot remember... whatever... $ sudo apt-get install libxmu-dev For PTAM/PTAMM+ $ sudo apt-get install mplayer mencoder (just for safe) $ sudo apt-get update $ sudo ldconfig Activate multiverse (for getting mencoder/mplayer) https://help/ubuntu.com/community/Repositories/CommandLine $ sudo gedit /etc/apt/sources.list (Uncomment 6 "multiverse" lines; you see "multiverse" word at each line end.) $ sudo apt-get update For PTAM/PTAMM See PTAMM(v1.3)'s manual.pdf $ sudo apt-get install \ coriander liblapack3gf liblapack-dev libraw1394-dev libdc1394-22-dev freeglut3 freeglut3-dev libreadline5-dev (skip cvs, libdc1394-22, libtiff4, libtiff4-dev, libpng-dev) For OpenCV-2.3.1+ $ sudo apt-get update $ sudo apt-get install libtbb-dev For OpenCV-2.3.1 $ sudo apt-get install \ cmake libjpeg-dev libtiff-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libgtk2.0-dev (skip build-essential because you've already got it) Playing .flv files... > totem hoge.flv -> requests you to install these two gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad ===================================================== Casper Cartridge File Ver.4.61E (casper-rw_461E) Time-stamp: 2011/10/26 (last updated on Panasonic CF-Y8) kameda[at]iit.tsukuba.ac.jp http://www.kameda-lab.org/casper ----------------------------------------------------- Eclipse, Meld, diff2html.pl, emacs clock, Caps-Ctrl, aliases bash aliases... $ cd $ gedit .bash_aliases alias rm='rm -i' alias mv='mv -i' I like diff2html.pl http://jrm.stin.jp/index.php?itemid=3 http://jrm.stin.jp/media/1/20080507-diff2html.pl.txt $ sudo cp diff2html.pl.txt /usr/local/bin/diff2html.pl $ chmod 755 /usr/local/bin/diff2html.pl Emacs (emacs23) $ sudo apt-get install emacs > Applications->Programming/GNU Emacs 23 Meld $ sudo apt-get install meld > Applications->Programming/Meld Diff Viewer Eclipse (GALILEO/M20100211-1343) $ sudo apt-get eclipse > Applications->Programming/Eclipse Activate universe (for getting eclipse) https://help/ubuntu.com/community/Repositories/CommandLine $ sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup $ sudo gedit /etc/apt/sources.list (Uncomment 6 "universe" lines; you see "universe" word at each line end.) $ sudo apt-get update Maintenance $ sudo apt-get update $ sudo apt-get install build-essential Keyboard I need CTRL at CAPS-key... > System->Preferences->Keyboard ->Layouts->Options ->Ctrl key position->Make CapsLock an additional Ctrl->Close ->Close Clock Assuming PC has local time on BIOS (e.g. JST) $ sudo gedit /etc/default/rcS UTC=no > System->Administration->Time and Date ->Time zone ->Asia/Tokyo->Close $ sudo reboot USB Memory Stick/casper-rw (verico-N) Cook USB in the same way of 4.5E (verico-J) except that casper-rw as 0MB After burning is done, cp the image of 4.5E (verico-J) to the USB. ===================================================== Casper Cartridge File Ver.4.5E (casper-rw_45E) Time-stamp: 2011/10/26 (last updated on Panasonic CF-Y8) kameda[at]iit.tsukuba.ac.jp http://www.kameda-lab.org/casper ----------------------------------------------------- Universal USB Installer (ver.1.8.6.8) Step1: Ubuntu10.4.X Step2: ubuntu-10.04.1-desktop-i386.iso Step3: "We will format"/Yes Step4: 2500MB (2500x1024x1024 bytes) Target PC Panasonic CF-Y8 USB Memory Stick/casper-rw (Verico-J) VERICO Original Design / TS / 4GB (verico-J) (3,993,559,040 bytes) =====================================================