Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - OpenCV error: assertion failed. & ampsrc.size()==dst.size())
OpenCV error: assertion failed. & ampsrc.size()==dst.size())
Your src and dst do not match.

1, check whether these two graphs or matrices are initialized.

2. If initialized, are the initialized sizes the same, that is, are their lengths and widths the same?

3. Whether the depth of the two is the same, that is, one is three channels and the other is single channel.

Or single-channel 32-bit floating-point type and single-channel 8-bit shaping type.