Opencv visual recognition

  • View
    175

  • Download
    1

Embed Size (px)

Transcript

Opencv Visual Recognition

Opencv Visual Recognition

.xml Opencv2.0 .execreatesamples.exehaartraining.exe

.exe : :

.xml (positive).txtcmdcd

dir /b /s >positives.txt .txt

.xml .txtctrl+h1 0 0 200 250 200 250

.xml positive.txtpositive.txt()

.xml negativenegative.txtnegatives.txt

.xml opencv_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

.xml opencv_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

.xml data.xml.xml

visual studio.xmlCPU