Changeset 146


Ignore:
Timestamp:
10/14/2009 07:41:55 PM (9 years ago)
Author:
dave
Message:

initial structure additions

Files:
19 added
3 edited
4 moved

Legend:

Unmodified
Added
Removed
  • foam/trunk/python/anim_pca

    r114 r146  
    88if sys.argv[1] == "-h": 
    99        print("anim_pca pcafile width height starteigenface endeigenface gain frames") 
    10          
     10        exit(0) 
     11 
    1112pca = load_pca(sys.argv[1]) 
    1213w=int(sys.argv[2]) 
  • foam/trunk/python/build-pca

    r114 r146  
    44from vision import * 
    55from faces import * 
     6import sys 
    67 
    78if sys.argv[1] == "-h": 
    89        print("build_pca inpath/*.png width height outfile") 
     10        exit(0) 
    911 
    1012build_pca(sys.argv[1],int(sys.argv[2]),int(sys.argv[3]),sys.argv[4]) 
  • foam/trunk/python/crop_faces

    r114 r146  
    77if sys.argv[1] == "-h": 
    88        print("crop_faces inpath/*.png outpath") 
     9        exit(0) 
    910         
    1011get_faces(sys.argv[1], sys.argv[2]) 
  • foam/trunk/python/disp_pca

    r114 r146  
    88if sys.argv[1] == "-h": 
    99        print("disp_pca pcafile width height starteigenface endeigenface gain") 
    10          
     10        exit(0) 
     11 
    1112pca = load_pca(sys.argv[1]) 
    1213w=int(sys.argv[2]) 
Note: See TracChangeset for help on using the changeset viewer.