Skip to content

Instantly share code, notes, and snippets.

@ollewelin
Created September 14, 2016 17:58
Show Gist options
  • Save ollewelin/4670a232de09aea8749305d7542c8c94 to your computer and use it in GitHub Desktop.
Save ollewelin/4670a232de09aea8749305d7542c8c94 to your computer and use it in GitHub Desktop.
opencv_createsamples -info info.txt -num 2000 -w 32 -h 24 -vec logo.vec -maxxangle 2.0 -maxyangle 2.0 -maxzangle 2.0 -maxidev 800 -bgthresh 160
opencv_createsamples -vec logo.vec -w 32 -h 24
opencv_traincascade -data data -vec logo.vec -bg bg.txt -precalcValBufSize 768 -precalcIdxBufSize 768 -numPos 1900 -numNeg 1000 -numStages 8 -w 32 -h 24 -featureType LBP -mode ALL -maxFalseAlarmRate 0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment