Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As I couldn't found any proper classifier that is capable of detecting side-way faces,

please have a look at this

then, the whole idea of "synthesizing" multiple positive images from one or a few is broken, and won't work.

(your blog/tutorial seems quite outdated, please use this instead

instead,

  • collect as many positive images you can get (any size)
  • run the annotation tool on the folder with the positives, to produce an info file (containing filenames & list of found rectangles)
  • then, pass the info file to opencv_createsamples like: opencv_createsamples -vec faces.vec -info info.txt -w 24 -h 24

As I couldn't found any proper classifier that is capable of detecting side-way faces,

please have a look at this

then, the whole idea of "synthesizing" multiple positive images from one or a few is broken, and won't work.

(your blog/tutorial seems quite wrong and outdated, please use this instead )

instead,

  • collect as many positive images you can get (any size)
  • run the annotation tool on the folder with the positives, to produce an info file (containing filenames & list of found rectangles)
  • then, pass the info file to opencv_createsamples like: opencv_createsamples -vec faces.vec -info info.txt -w 24 -h 24

As I couldn't found any proper classifier that is capable of detecting side-way faces,

please have a look at this

then, the whole idea of "synthesizing" multiple positive images from one or a few is broken, and won't work.

(your blog/tutorial seems quite wrong and outdated, please use this instead )

instead,

  • collect as many positive images you can get (any size)size, but not .gif !)
  • run the annotation tool on the folder with the positives, to produce an info file (containing filenames & list of found rectangles)
  • then, pass the info file to opencv_createsamples like: opencv_createsamples -vec faces.vec -info info.txt -w 24 -h 24

As I couldn't found any proper classifier that is capable of detecting side-way faces,

please have a look at this

then, the whole idea of "synthesizing" multiple positive images from one or a few is broken, and won't work.

(your blog/tutorial seems quite wrong and outdated, please use this instead )

instead,

  • collect as many positive images you can get (any size, but not .gif !)
  • run the annotation tool on the folder with the positives, mark your faces there, to produce an info file (containing filenames & list of found rectangles)
  • then, pass the info file to opencv_createsamples like: opencv_createsamples -vec faces.vec -info info.txt -w 24 -h 24

As I couldn't found any proper classifier that is capable of detecting side-way faces,

please have a look at this (the general problem with profile views is, that you can train it only for one side, and you have to flip() the image, and try a detection for both sides later)

then, the whole idea of "synthesizing" multiple positive images from one or a few is broken, and won't work.

(your blog/tutorial seems quite wrong and outdated, please use this instead )

instead,

  • collect as many positive images you can get (any size, but not .gif !)
  • run the annotation tool on the folder with the positives, mark your faces there, to produce an info file (containing filenames & list of found rectangles)
  • then, pass the info file to opencv_createsamples like: opencv_createsamples -vec faces.vec -info info.txt -w 24 -h 24

As I couldn't found any proper classifier that is capable of detecting side-way faces,

please have a look at this (the general problem with profile views is, that you can train it only for one side, and you have to flip() the image, and try a detection for both sides later)

then, the whole idea of "synthesizing" multiple positive images from one or a few is broken, and won't work.

(your blog/tutorial seems quite wrong and outdated, please use this instead )

instead, so, try:

  • collect as many positive images you can get (any size, but not .gif !)
  • run the annotation tool on the folder with the positives, mark your faces there, to produce an info file (containing filenames & list of found rectangles)
  • then, pass the info file to opencv_createsamples like: opencv_createsamples -vec faces.vec -info info.txt -w 24 -h 24