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 をソースã‹ã‚コンパイルã—ã¾ã™ï¼ˆãƒ‡ã‚£ã‚¹ã‚¯ãƒ¬ã‚¹PC�6æ…‹ã§�ã€�
- 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)