[Note] Python's OpenCV does not have C ++ copyTo, Clone

Let's be careful

Instead of copyTo

copyTo.py


src1[ 0 : src2.shape[0], 0 : src2.shape[1]] = src2

Instead of Clone

clone


src2 = src1.copy()

Recommended Posts

[Note] Python's OpenCV does not have C ++ copyTo, Clone
Opencv4.1 + Windows10 + Python 3.7.5 cv2.VideoCapture does not display correctly
GAE forbidden: The caller does not have permission