2009-01-01ãã1ã¶æéã®è¨äºä¸è¦§
/*** ã·ã³ãã«ãªèæ¯å·®å åè: opencvããã°ã©ãã³ã°ãã㯠p.55 ***/ #include <stdio.h> #include <highgui.h> #include <cv.h> int main(int argc, char** argv) { bool isStop = false; CvCapture *capture = NULL; capture = cvCreateCameraCapture(0); if(capture == NULL){ pri</cv.h></highgui.h></stdio.h>â¦
ããããããMacbookã§bootcampã§WindowsXPãåããã¦ããã®ä¸ã§VMWarePlayerç¡æçã§Ubuntu8.04åããã¦ãã«ã¡ã©ã¯Logitec QV-40ã§ãã£ã¦ããhttp://d.hatena.ne.jp/grazier/20080907/1220773639 ãã ããã§makeä¸çºã§image.cppãã³ã³ãã¤ã«ã§ãã Makefilâ¦
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 instaâ¦
åèï¼ http://journal.mycom.co.jp/column/osx/203/ çµè«ããããã¨éãã¦ä½¿ãç©ã«ãªããªããåå ã¯ããããhighguiã¨carbonã§ãcarbonãx11ã«åãæ¿ããããã°è¯ããªãã¨æã portããå ¥ããã gtk2ãffmpegã¯ä»¥åã«å ¥ãã¦ãã glib2ã®ãã¼ã¸ã§ã³é¢ä¿ã§opeâ¦
macportsããå ¥ããã®ãæ¶ã sudo port uninstall opencv sourceforgeããlinuxç1.0.0ã®ã½ã¼ã¹ãget http://sourceforge.net/projects/opencvlibrary/ wget http://softlayer.dl.sourceforge.net/project/opencvlibrary/opencv-linux/1.0/opencv-1.0.0.tar.â¦
æå¾ã«Windowsã«ãOpenCVç°å¢ãã¤ã³ã¹ãã¼ã«ãããVisualStudio2008Professionalã®C++ç°å¢ã使ãã ããã§MacãUbuntuãWindowsã§OpenCVã§ããããã«ãªã£ãã ããã«é¢ãã¦ã¯å¥è¯å 端大ã®ååç wiki http://chihara.naist.jp/opencv/ ã®Visual C++ 2008 Exprâ¦
ruby -rubygems -e 'require "open-uri";require "feed-normalizer";require "hpricot"; puts Hpricot(FeedNormalizer::FeedNormalizer.parse(open("http://shokai.org/blog/feed")).entries[0].content).inner_text'
#!/usr/bin/env ruby require 'rubygems' require 'rexml/document' require 'hpricot' filename = ARGV.shift exit(1) if filename == nil doc = REXML::Document.new(open(filename).read) REXML::XPath.each(doc, '//item'){ |item| title = REXML::XPathâ¦
ãã©ã°ã¤ã³å ¨åæ¢ãã¦ãã mkdir ~/tmp cd ~/tmp wget http://ja.wordpress.org/wordpress-2.7-ja.zip unzip wordpress-2.7-ja.zip cp -R ~/www/blog/ ~/tmp/blog-backup rm -rf ~/www/blog/wp-admin/ rm -rf ~/www/blog/wp-includes/ cp -R ~/tmp/wordpressâ¦