projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e4444
)
Removed writing the test.png, wasn't meant to be commited.
author
Philipp Wagner
<bytefish@gmx.de>
Thu, 9 Aug 2012 21:52:09 +0000
(23:52 +0200)
committer
Philipp Wagner
<bytefish@gmx.de>
Thu, 9 Aug 2012 21:52:09 +0000
(23:52 +0200)
samples/python2/facerec_demo.py
patch
|
blob
|
history
diff --git
a/samples/python2/facerec_demo.py
b/samples/python2/facerec_demo.py
index
6fd3199
..
7367b68
100644
(file)
--- 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)