OpenCV-1.0.0 (or OpenCV-1.1.0-pre) on Knoppix-5.3.1
[ Japanese |
www.kameda-lab.org ]
Last modified on 2008/10/10a
This software kit is produced by
Y. Kameda to give a class in the department of intelligent interaction technologies, Graduate School of Engineering, University of Tsukuba. A bunch of not-in-a-good-manner methods are used to make this kit. Both you and I should pay maximum respects to those who make contribution to opencv.
Objective
- Do you want to give it a try of opencv without touching anything on your HDD, don't you?
- Do you want to use nice USB camera on OpenCV/Linux?
- Do you want to have a feel of new opencv (version 1.1.0 pre !) which should be released pretty soon? (I currently check out the sources via cvs at 2008/10/10.)
This is the answer. You can ;
- See how to build up opencv-1.0.0 from scratch on Knoppix-5.3.1 (diskless PC setup).
- Support (hopefully) additional USB cameras (including Logicool Qcam Pro 9000).
- See how to compile major sample programs, including the ones from a very new book of "Learning OpenCV" (released in Oct, 2008).
In addition,
- You can try either OpenCV-1.0.0 (2006) or OpenCV-1.1.0 (cvs checkout of 2008/10/10).
- You can take files/urls as input as an appropriate ffmpeg package has been prepared.
Dear English speakers: Sorry, this kit will introduce many many Japanese embeded files/codes!
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.
- IIT system advanced experiment II : home page of this course
- 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)