Ask Your Question

Revision history [back]

Try initianating your GpuMat as follows and skip the upload function. GpuMat d_frame (frame); It should fix the problem, if not, your frame is up higher and your original frame is empty.

Since you commented that it worked, do accept this answer :)