PyEVM
PyEVM copied to clipboard
The operation is neither 'array op array'
Hi! I used magnify_motion("me.mp4", 0.4, 3)
and got
Traceback (most recent call last):
File "./EVM.py", line 167, in <module>
magnify_motion("me.mp4",3,5, 3, 22)
File "./EVM.py", line 155, in magnify_motion
lap_video_list=laplacian_video(t,levels=levels)
File "./EVM.py", line 125, in laplacian_video
pyr=build_laplacian_pyramid(frame,levels=levels)
File "./EVM.py", line 43, in build_laplacian_pyramid
L=cv2.subtract(gaussianPyramid[i-1],GE)
cv2.error: OpenCV(3.4.1) /io/opencv/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