diff --git a/samples/python2/feature_homography.py b/samples/python2/feature_homography.py index 21be4c7e0..d09c764bc 100644 --- a/samples/python2/feature_homography.py +++ b/samples/python2/feature_homography.py @@ -49,7 +49,7 @@ class App: ret, frame = self.cap.read() if not ret: break - self.frame = np.frame.copy() + self.frame = frame.copy() w, h = getsize(self.frame) vis = np.zeros((h, w*2, 3), np.uint8)