This is HOG + SVM with opencv

  • First, you need install opencv 2.4.9
  • Second, you need set path in main.h
    • string MySvmPath = "C:\Users\work\Desktop\jieguo\1\"; //this is save path
    • string MyPosDir="C:\Users\work\Desktop\muban\11\"; //this pos path
    • string MyNegDir="C:\Users\work\Desktop\muban\__fail\";//this neg path
    • string MyHardDir = "C:\Users\work\Desktop\jieguo\2\"; //this hard path# HOG-SVM

HOG-SVM

HOG-SVM