Books Open CV Structure CV MLL High GUI
Books
Open. CV Structure CV MLL High. GUI Image Processing and Vision Algorithms Statistical Classifiers and Clustering Tools GUI, Image and Video I/O CXCORE basic structures and algorithms, XML support, drawing functions IPP Fast architecture-specific low-level functions Aux Experimental Gary Bradski, 2009 or less used routines 9 9
API Modules � � � � core - a compact module defining basic data structures, including the dense multi-dimensional array Mat and basic functions used by all other modules. imgproc - an image processing module that includes linear and nonlinear image filtering, geometrical image transformations (resize, affine and perspective warping, generic table-based remapping), color space conversion, histograms, and so on. video - a video analysis module that includes motion estimation, background subtraction, and object tracking algorithms. calib 3 d - basic multiple-view geometry algorithms, single and stereo camera calibration, object pose estimation, stereo correspondence algorithms, and elements of 3 D reconstruction. features 2 d - salient feature detectors, descriptors, and descriptor matchers. objdetect - detection of objects and instances of the predefined classes (for example, faces, eyes, mugs, people, cars, and so on). highgui - an easy-to-use interface to video capturing, image and video codecs, as well as simple UI capabilities. gpu - GPU-accelerated algorithms from different Open. CV modules.
下載 �Open. CV for Windows �Open. CV for Linux/Mac �Open. CV for Android �Open. CV for i. OS
安裝與設定 �使用 Visual Studio 2012 (中文) �http: //docs. opencv. org/trunk/doc/tutori als/introduction/windows_visual_studi o_Opencv/windows_visual_studio_Op encv. html#windows-visual-studio-howto
Open. CV Tutorials �Core module: �Image processing module
存取像素 http: //www. cs. iit. edu/~agam/cs 512/lect-notes/opencv-intro. html#SECTION 0005300000000
Frame Difference 程式碼
How to use �Try our package – Face. Detection ◦ Face. Detect. cmd Usage: facedetect [-cascade="<cascade_path>"] [--nestedcascade[="nested_cascade_path"]] [--scale[=<image scale> [filename|camera_index] ◦ Face. Detect. exe 執行辨識的程式
正面臉部偵測 Facedetect --cascade=". /haarcascades/haarcascade_frontalface_alt. xml” --nested-cascade=". /haarcascades/haarcascade_eye. xml” --scale=1. 3 � 先找到在正面的臉 � 接者尋找眼睛 � 縮放標記 �
試試其他模組 � haarcascade_eye. xml � haarcascade_eye_tree_eyeglasses. xml � haarcascade_frontalface_alt 2. xml � haarcascade_frontalface_alt_tree. xml � haarcascade_frontalface_default. xml � haarcascade_fullbody. xml � haarcascade_lefteye_2 splits. xml � haarcascade_lowerbody. xml � haarcascade_mcs_eyepair_big. xml � haarcascade_mcs_eyepair_small. xml � haarcascade_mcs_lefteye. xml � haarcascade_mcs_mouth. xml � haarcascade_mcs_nose. xml � haarcascade_mcs_righteye. xml � haarcascade_mcs_upperbody. xml � haarcascade_profileface. xml � haarcascade_righteye_2 splits. xml � haarcascade_upperbody. xml
如何製作自己的Object Detector 1. 2. 3. 4. 5. 6. Collect a database of positive samples and a database of negative samples. Mark object by objectmarker. exe Build a vec file out of positive samples using createsamples. exe Run haartraining. exe to build the classifier. Run performance. exe to evaluate the classifier. Run haarconv. exe to convert classifier to. xml file
Links �Original paper: http: //research. microsoft. com/~viola/Pubs/D etect/viola. Jones_CVPR 2001. pdf �How-to build a cascade of boosted classifiers based on Haar-like features: http: //lab. cntl. kyutech. ac. jp/~kobalab/nishid a/opencv/Open. CV_Object. Detection_How. T o. pdf �Objectmarker. exe and haarconv. exe, *. dll: http: //www. iem. pw. edu. pl/~domanskj/haarkit. rar �http: //note. sonots. com/Sci. Software/haartrai ning. html
推薦的參考網站 � Open Computer Vision Library (Sourceforge) ◦ http: //sourceforge. net/projects/opencvlibrary/ � Open. CV Official Forum ◦ http: //tech. groups. yahoo. com/group/Open. CV/ � Open. CV Wiki ◦ http: //opencv. willowgarage. com/wiki/ (Willowgarage) ◦ http: //en. wikipedia. org/wiki/Open. CV (Wikipedia) � Open. CV中文網站 ◦ http: //www. opencv. org. cn/index. php/ � 優質Open. CV教學網 ◦ http: //yester-place. blogspot. com/ � Learning Open. CV: Computer Vision with the Open. CV Library (Paperback) ◦ http: //www. amazon. com/Learning-Open. CV-Computer-Vision. Library/dp/0596516134
參考資料 �http: //vbie. eic. nctu. edu. tw/vol_2/skill_7. ht m �http: //vbie. eic. nctu. edu. tw/vol_13/tech 1. h tm �http: //www. cse. ohiostate. edu/~jwdavis/CVL/Research/MHI/ mhi. html �特徵檢測專題 ◦ http: //www. opencv. org. cn/index. php/%E 7%8 9%B 9%E 5%BE%81%E 6%A 3%80%E 6%B 5 %8 B%E 4%B 8%93%E 9%A 2%98
- Slides: 33