Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Somewhere in your code (well, somewhere you're using a convertion since convert.cpp fails) you're using a function in which the source matrix isn't the same as the destination matrix in terms of mat.size or/and mat.channels (maybe one of them has different dimensions, maybe its uninitiallized, maybe one is RGB when the other one is grayscale etc). Thats why it says ASSERTION FAILED (src.size==dst.size && src.channels==dst.channels)