Ask Your Question

Revision history [back]

Error in fisher faces algorithm when using multiple images for a person

Hi,

I'm using fisher faces algorithm and it's working fine when I use one image per person (label). once I'm adding two or more images for the same label I get this error (in the train method): Assertion failed (0 <= _colRange.start && _colRange.start <= _colRange.end && _colRange.end <= m.cols) in cv::Mat::Mat

when I use one label with multiple images it works fine but if I use few labels and one of them has multiple images it failed with this error. I'm using the same pictures size for all of the pictures.