Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I did it! Found a similar topic in this discussion thread.

Basically my original code above should work. The reason it didn't was because of size constraints. It turns out that the image I am trying to overlay is bigger than my background image. So I used Imgproc.resize(Mat, Mat, Size) to make it smaller.

Thanks again to everyone who answered! Big thanks to Steven for being so prompt and understanding! :)

I did it! Found a similar topic in this discussion thread.

Basically my original code above should work. The reason it didn't was because of size constraints. It turns out that the image I am trying to overlay is bigger than my background image. So I used Imgproc.resize(Mat, Mat, Size) to make it smaller.

Thanks again to everyone who answered! answered!
Big thanks to Steven for being so prompt and understanding! :)