Gary Sieling

Overlay one part of an image on another in OpenCV with Python

Since these are just big arrays, you can copy one chunk of an image over another:

frame[0:h, 0:w] = frame[y:y+h, x:x+w]
Exit mobile version