source:
libs/magicsquares/python/build-pca
@
206
Revision 206, 258 bytes checked in by dave, 10 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | #!/usr/bin/env python |
2 | |
3 | import glob,string |
4 | from magicsquares import * |
5 | from faces import * |
6 | import sys |
7 | |
8 | if sys.argv[1] == "-h": |
9 | print("build_pca inpath/*.png width height outfile") |
10 | exit(0) |
11 | |
12 | build_pca(sys.argv[1],int(sys.argv[2]),int(sys.argv[3]),sys.argv[4]) |
Note: See TracBrowser
for help on using the repository browser.