From 6161a3335c8cc95bb6a26ebdfa9a67cc832ced88 Mon Sep 17 00:00:00 2001 From: Philipp Wagner Date: Thu, 9 Aug 2012 23:52:09 +0200 Subject: [PATCH] Removed writing the test.png, wasn't meant to be commited. --- samples/python2/facerec_demo.py | 1 - 1 file changed, 1 deletion(-) diff --git a/samples/python2/facerec_demo.py b/samples/python2/facerec_demo.py index 6fd3199d8..7367b68a9 100644 --- a/samples/python2/facerec_demo.py +++ b/samples/python2/facerec_demo.py @@ -131,7 +131,6 @@ if __name__ == "__main__": # Now let's get some data: mean = model.getMat("mean") eigenvectors = model.getMat("eigenvectors") - cv2.imwrite("test.png", X[0]) # We'll save the mean, by first normalizing it: mean_norm = normalize(mean, 0, 255, dtype=np.uint8) mean_resized = mean_norm.reshape(X[0].shape)