Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

array op array Error

I am getting the following error: Exception during the frame elaborationCvException [org.opencv.core.CvException: cv::Exception: OpenCV(4.0.1) C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\core\src\arithm.cpp:663: error: (-209:Sizes of input arguments do not match) 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 'cv::arithm_op' ]

Extra information: I am trying to apply this "Core.addWeighted(imageROI, 1.0, logo, -0.7, 0.0, imageROI);" as mentioned in the following tutorial: https://github.com/opencv-java/video-basics/blob/master/src/it/polito/teaching/cv/VideoController.java Does anyone have any idea