opencvã¤ã³ã¹ãã¼ã«
VMWareçUbuntu8.04ã«opencvå
¥ãã
ffmpeg, gtkã¯æ¢ã«å
¥ã£ã¦ãã
sudo apt-get install libcv-dev sudo apt-get install libcv1 sudo apt-get install libcvaux-dev sudo apt-get install libcvaux1 sudo apt-get install libhighgui-dev sudo apt-get install libhighgui1 sudo apt-get install opencv-doc
/usr/share/doc/opencv-doc/
ã«ããã¥ã¡ã³ãã¨ãµã³ãã«ãå
¥ã£ã¦ãã
/usr/share/opencv/haarcascades/
ã«facedetectã®ãã¿ã¼ã³ãã¡ã¤ã«ããã
iSightã¯ãè²ã
試ããããã©ç»é¢ãç·è²ã®ãã¤ãºãä¹ã£ã¦ãã¾ã£ã¦ä½¿ããªãã£ãã
å¾è¿°ã®logitecã®USBã«ã¡ã©ã¯ä½¿ããã
ä¸å¿ãã£ããã¨ãæ¸ãã¦ããã
VMWareã®ã¡ãã¥ã¼ãã[ããã¤ã¹]->[apple built-in isight]->[æ¥ç¶]
sh build_all.sh ./facedetect ?cascade=/usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml
åå¥ã«ãã«ãããã®ã¯ãgccãªã®ã§Macã¨åãã
g++ `pkg-config opencv -cflags -libs` edge.c -o edge
isightãvmwareä¸ã®ubuntuã§ä½¿ãæ¹æ³
http://ubuntuforums.org/archive/index.php/t-766866.html
ãã
aptã«è¿½è¨ /etc/apt/sources.list ç·¨é
deb http://ppa.launchpad.net/mactel-support/ubuntu hardy main deb-src http://ppa.launchpad.net/mactel-support/ubuntu hardy main
sudo apt-get update sudo apt-cache search isight
isight-firmware-tools - Apple Built-in iSight Firmware Tools ã¨ããã®ãçºè¦
sudo apt-get install isight-firmware-tools
ã¤ã³ã¹ãã¼ã«ã§ãããã©ãç·è²ã®ã¾ã¾ã ã£ãã»ã»ã»
ä»æ¹ãªãã®ã§ãLogitec QV-40ã¨ããwindowsçã®ãã©ã¤ããæ¢ã«webå ¬éããã¦ãªãå¤ãwebcamã使ã
sudo apt-get install qcam sudo apt-get install gqcam
VMWareãã[ããã¤ã¹]->[logitech camera]->[æ¥ç¶]
ãã¦
gqcam -v /dev/video0
ãã£ããã£ã§ãã¦ãã
é¡èªèã試ã
./facedetect ?cascade=/usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml
é¡èªèã§ããï¼ï¼
åä½ã¯vmwareãªã®ã«éããwindowsçã¨åãdetection timeã§åããã