OpenCV-1.0.0 (or OpenCV-1.1.0-pre) on Knoppix-5.3.1
[ English |
www.kameda-lab.org ]
Last modified on 2008/10/10a
このソフトウェアキットは 亀田能成 が 筑波大学大学院システム情報工学研究科知能機能システム専攻 での授業のために用意しました。作成に当たってはあまhめれない手段ってたcます。OpenCVをもcてて来れた先駆者の方々感謝しましょう!
目的
- PCのHDDをいじないままでOpenCV䥦ってみたい?
- 画質のきれいな USB カメラってみたくない?
- あと少しでリリースされそうなピカピカの OpenCV (version 1.1.0 ?!) 䥦ってみたくない? (2008/10/10 に cvs で checkout した分だよ.)
このキットはその全てに応えます。
- Knoppix-5.3.1 のc OpenCV-1.0.0 をソースかコンパイルします(ディスクレスPC6態で。
- Logicool Qcam Pro 9000)みたいな高画質のUSBカメラってみれます。
- 主だったサンプルプログラムとマニュアルがすべて手元に!サンプルプログラムはその場でコンパイル!(2008/10にhされたばかcオライリーの "Learning OpenCV" のサンプルコーまで用意しました!)
さに、
- OpenCV-1.0.0 (2006) でも OpenCV-1.1.0 (cvs checkout of 2008/10/10) でもどちでも試せます。
- ファイルやurlでのストリーミングもえます(それに必要なffmpegのソースツリーも用意しました)。
ええと、あとは面倒だか英文のままにしてcます。
Installtion guide
- Prepare a PC with a DVD drive (this kit won't access content of HDDs in the PC unless you want to do so), a usb camera, a Knoppix-5.3.1 DVD, and a usb memory (128MB-).
- Unpack the packed software kit (you can find it at IIT system advanced experiment II page) to the USB memory (on any OS). You should see the copy of this HTML file on the root directory of the USB memory.
- Boot up the PC with Knoppix-5.3.1 DVD.
- After the boot, attach the USB memory phisically and mount the USB memory on Knoppix OS somehow (e.g. just click OK on the pop-up window).
- Open a terminal (black monitor icon on the command bar of the console).
- If you plan to try OpenCV-1.0.0:
- bash /media/sda1/00setup-knoppix-normal.bash (Setup, just seconds)
- bash /media/sda1/01setup-knoppixopencv.bash (OpenCV, 5-15 min)
- bash /media/sda1/02setup-knoppixopencvmisc.bash (Samples, 5-15 min)
Note that ch12_ex12_3 can be compiled only when you use OpenCV-1.1.0.
- Or, if you plan to try OpenCV-1.1.0 (cvs checkout 2008/10/10):
- bash /media/sda1/00setup-knoppix-normal.bash (Setup, just seconds)
- bash /media/sda1/11setup-knoppixopencv.bash (OpenCV, 5-15 min)
- bash /media/sda1/12setup-knoppixopencvmisc.bash (Samples, 5-15 min)
- Attach the USB camera.
- Invoke any sample programs. One might be
/home/knoppix/_knoppix_compile/opencv.jp/sample/video_io-source1
Samples could be found at:
- /home/knoppix/_knoppix_compile/opencv-1.0.0/samples/c/ : original samples attached to OpenCV-1.0.0
- /home/knoppix/_knoppix_compile/opencv-1.1.0/samples/c/ : original samples attached to OpenCV-1.1.0
- /home/knoppix/_knoppix_compile/opencv.jp/sample/ : some good samples at opencv.jp
- /home/knoppix/_knoppix_compile/cv_prog/ : some good samples from OpenCV Programming Book (Japanese)
- /home/knoppix/_knoppix_compile/LearningOpenCV_Code : some good samples from Learning OpenCV Book (Just uploaded on 2008/10/07!)
Internal useful HTMLs
- Local mirror of opencv.jp (日本語)
- English manual of opencv-1.0.0
- English manual of opencv-1.1.0
External links
These links are the original data source on making this software kit.
When you have internet access, you should definitely visit them.
- 知能機能システム別実験II : 授業のページ
- Knoppix (Japanese version) : 5.3.1 DVD (as of 2008/03, Japanese ed.) is used, but it should work with any language version.
- Original Knoppix site
- Linux UVC : A good driver for newer cameras (by V4L2 API)
- sourceforge.net/projects/opencvlibrary : Original source code/document of opencv
- opencv.jp : A Japanese opencv page
- OpenCV programming book / support site : You should buy a copy of OpenCV Programming Book (Japanese)!
- Learning OpenCV : You should buy a copy of Learning OpenCV / Computer Vision with the OpenCV Librar (English)!
Y. Kameda (kameda[at]iit.tsukuba.ac.jp)