Problem in cv2.add

asked 2017-05-03 12:55:25 -0600

artuvd gravatar image

updated 2020-11-16 12:46:04 -0600

Hi all!

My name is Arturo, this is my first question.

I have a problem with cv2.add function, I have two images with the same size and the same type, but when I try to do cv2.add I have this error:

error: /tmp/binarydeb/ros-kinetic-opencv3-3.2.0/modules/core/src/arithm.cpp:659: error: (-209) The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scalar', nor 'scalar op array' in function arithm_op

I don't know what can be happening.

Thanks in advance,
Arturo.

edit retag flag offensive close merge delete

Comments

"I have two images with the same size and the same type" -- you did not convince the compiler, that it really is so.

berak gravatar imageberak ( 2017-05-03 13:34:40 -0600 )edit