Opencv visual-recognition

  • View
    132

  • Download
    0

Embed Size (px)

Transcript

Opencv Visual Recognition

Opencv Visual Recognition

(Nien-tzu Yang)

slideopencv.xmlopencvhaartraining.exetrainingSlide:Haar-like feature

.xml Opencv2.0 .execreatesamples.exehaartraining.exe

.exe : :

.xml(positive).txtcmdcd

dir /b /s >positives.txt .txt

: 50

: 50

.xml.txtctrl+h1 0 0 200 250 200 250positive.txtpositive.txt()

.xmlnegativenegative.txtnegatives.txt

.xmlopencv_createsample.exesamplecmdopencv_createsample.exe info positive/positives.txt vec data/positives.vec num 50 w 20 h 20-info -vec vec data-num -w -h

.xmlopencv_haartraining.exe data data/data vec data/positives.vec bg negative/negatives.txt mem 1024 w 20 h 20-data datadata()-vec createsample.exevec-bg negativenegatives.txt-mem -w -h

.xmldata.xmldata.xml

code : http://www.cnblogs.com/tornadomeet/archive/2012/03/22/2411318.html.xml(opencv)

vs.xmlKP()

Opencv trainingtraining

THX