Module Expr Str ImportFrom alias alias alias ImportFrom alias alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Dict Str Str Num Num Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args defaults body Global identifier identifier Assign NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad TryExcept body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index NameLoad NameLoad handlers ExceptHandler body Print BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body TryExcept body Assign SubscriptStore NameLoad Index NameLoad Call SubscriptLoad NameLoad Index NameLoad NameLoad handlers ExceptHandler body Print BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Num Assign NameStore ListComp SubscriptLoad NameLoad Slice NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults ListComp Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad keyword TupleLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr orelse Expr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If AttributeLoad NameLoad attr body Print BinOpMod Str AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd ListLoad NameLoad ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad keyword Num Assign TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Num Num Num For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Slice Num Assign TupleStore NameStore Call AttributeLoad NameLoad attr CompareGtE NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Dict If CompareEq Call NameLoad NameLoad Num body Print BinOpMod Str NameLoad Continue Print BinOpMod Str NameLoad For NameStore NameLoad body If CompareEq NameLoad Num body Continue Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index BinOpAdd NameLoad Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad NameLoad ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad If AttributeLoad NameLoad attr body Print Str Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr ListComp Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad If AttributeLoad NameLoad attr body Print Str Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Print Str Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Print Str Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Print Str Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad UnaryOpNot NameLoad body Print BinOpMod Str NameLoad Return If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Print Str Return Print BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Print BinOpMod Str NameLoad If NameLoad body Raise orelse Return Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return TupleLoad NameLoad NameLoad orelse Return TupleLoad NameLoad Call NameLoad NameLoad Str decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpOr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad decorator_list Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Call NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Call NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Return TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Copyright (c) 2012 Bas Stottelaar, Jeroen Senden
See the file LICENSE for copying permission.
 face3d AbsFile Face Database face3d utils algorithms N/A argparse N/A glob N/A os N/A sys N/A numpy N/A threading N/A parameters N/A N K 67 12 N/A parameter_types N/A N K int int N/A database None N/A debug False main N/A N/A N/A N/A N/A database parameters N/A success False N/A N/A arguments parser N/A argument_parser N/A N/A N/A parameter N/A N/A N/A arguments parameters split , N/A N/A N/A key value N/A N/A parameter split = 1 N/A N/A parameters N/A key value N/A N/A N/A N/A N/A Invalid parameters: %s N/A arguments parameters N/A N/A N/A sys exit 1 N/A N/A key value N/A N/A parameters iteritems N/A N/A N/A N/A N/A parameters N/A key N/A N/A parameter_types N/A key value N/A N/A N/A N/A N/A Parameter '%s' of incorrect type key N/A N/A N/A sys exit 1 N/A database N/A Database N/A arguments database N/A N/A arguments enroll N/A N/A success True N/A N/A is_directory path N/A arguments enroll N/A is_directory N/A N/A files N/A N/A glob glob N/A %s/*.abs path N/A thread_count 16 N/A chunks N/A N/A files N/A i thread_count N/A i N/A range thread_count N/A threads N/A N/A chunk chunks N/A N/A thread N/A N/A threading Thread target N/A N/A N/A x N/A N/A N/A enroll_face c N/A arguments person_id N/A arguments auto_id N/A c x args N/A chunk N/A N/A thread daemon True N/A N/A N/A threads append thread N/A N/A N/A thread start N/A thread threads N/A N/A N/A N/A thread join N/A N/A N/A enroll_face path N/A arguments person_id N/A arguments auto_id N/A faces False N/A matrix False N/A rocs False N/A N/A arguments authenticate N/A N/A N/A Authenticating face from '%s' N/A arguments authenticate N/A success True N/A face N/A Face N/A AbsFile N/A arguments authenticate N/A N/A N/A algorithms process face N/A parameters N/A N N/A parameters N/A K N/A N/A faces N/A N/A faces N/A list N/A N/A database iterator N/A matrix N/A N/A algorithms similarity_matrix N/A N/A face N/A N/A face N/A 2 N/A face faces limit 1 N/A N/A methods _ _ N/A matrix shape N/A tresholds N/A 0.9 0.9 0.9 N/A i N/A range methods N/A N/A vector N/A N/A numpy array N/A N/A N/A matrix N/A i N/A 0 N/A 1 N/A N/A candidates N/A N/A numpy where N/A vector N/A tresholds N/A i N/A persons N/A N/A N/A N/A len candidates 0 N/A N/A N/A Method %d does not yield any candidates! i N/A N/A N/A Results for method %d: i N/A candidate candidates N/A N/A N/A candidate 0 N/A N/A N/A N/A filename person_id data N/A faces N/A candidate N/A N/A person_id persons N/A N/A N/A persons N/A person_id N/A N/A N/A N/A N/A persons N/A person_id append N/A N/A N/A matrix N/A i N/A 0 N/A N/A candidate 1 N/A N/A person scores N/A N/A persons iteritems N/A N/A N/A Match with person %s with scores %s N/A person N/A N/A %.2f s N/A s scores N/A N/A arguments reevaluate N/A N/A Reevaluate faces N/A success True N/A N/A faces N/A N/A faces N/A list N/A N/A database iterator N/A N/A N/A N/A algorithms features_histogram N/A face N/A 2 N/A parameters N/A N N/A parameters N/A K N/A face faces N/A N/A arguments depth_map N/A N/A Generating depth map N/A success True N/A N/A faces N/A N/A faces N/A list N/A N/A database iterator N/A N/A N/A utils generate_depth_map faces N/A arguments depth_map N/A arguments draw_key_points N/A N/A arguments feature_map N/A N/A Generating feature map N/A success True N/A N/A faces N/A N/A faces N/A list N/A N/A database iterator N/A N/A N/A utils generate_feature_map faces N/A arguments feature_map N/A N/A arguments similarity_matrix N/A N/A Generating similarity matrix N/A success True N/A N/A faces N/A N/A faces N/A list N/A N/A database iterator N/A N/A matrix N/A N/A matrix N/A N/A algorithms similarity_matrix N/A N/A face N/A 2 N/A face faces N/A N/A N/A utils generate_similarity_matrix matrix faces N/A arguments similarity_matrix N/A N/A arguments roc_curve N/A N/A Generating ROC curve N/A success True N/A N/A faces N/A N/A faces N/A list N/A N/A database iterator N/A N/A matrix N/A N/A matrix N/A N/A algorithms similarity_matrix N/A N/A face N/A 2 N/A face faces N/A N/A rocs N/A N/A rocs N/A N/A algorithms calculate_roc_eer matrix N/A N/A face N/A 1 N/A face faces N/A N/A N/A utils generate_roc_curve rocs N/A arguments roc_curve N/A N/A success N/A N/A N/A N/A parser print_help N/A N/A N/A sys exit 1 N/A N/A N/A N/A sys exit 0 N/A enroll_face N/A N/A file person_id auto_id force N/A None False False N/A N/A filename N/A N/A N/A os path basename file N/A N/A N/A N/A database exists file N/A force N/A N/A N/A File '%s' already enrolled filename N/A N/A N/A N/A person_id N/A auto_id N/A N/A Auto person identification disabled and no identification specified. N/A N/A N/A Processing %s filename N/A absfile N/A AbsFile file N/A auto_id N/A N/A basename N/A N/A N/A os path basename file N/A person_id N/A basename N/A N/A N/A basename index d N/A face N/A Face absfile N/A N/A N/A N/A N/A algorithms process face N/A parameters N/A N N/A parameters N/A K N/A N/A N/A face compress N/A N/A N/A N/A N/A File '%s' failed file N/A debug N/A N/A N/A N/A N/A N/A N/A database save file person_id face N/A argument_parser N/A N/A N/A N/A helper_file_or_directory N/A N/A parser N/A N/A _inner N/A N/A path N/A N/A N/A path N/A N/A N/A os path realpath path N/A N/A N/A N/A N/A os path exists path N/A N/A N/A N/A parser error N/A The file or directory '%s' does not exist path N/A N/A N/A N/A N/A os path isdir path N/A N/A N/A True path N/A N/A N/A False N/A open path rb N/A N/A _inner N/A helper_file N/A N/A parser N/A N/A _inner N/A N/A file N/A N/A N/A path N/A N/A N/A os path realpath file N/A N/A N/A N/A N/A N/A os path exists file N/A N/A N/A os path isdir file N/A N/A N/A N/A parser error N/A The file '%s' does not exist path N/A file N/A N/A _inner N/A N/A parser N/A N/A argparse ArgumentParser description Enroll, match and visualize 3D faces N/A N/A N/A parser add_argument -d --database default database.db help path to cache file N/A N/A N/A parser add_argument -p --parameters default K=12,N=67 action store help algorithm parameters, comma seperated N/A group N/A N/A parser add_argument_group title Face management N/A N/A N/A group add_argument --authenticate type N/A helper_file parser help authenticate a face to enrolled faces N/A N/A N/A group add_argument --enroll type N/A helper_file_or_directory parser help enroll face from file or directory N/A N/A N/A group add_argument --person-id action store help number or name identifing person N/A N/A N/A group add_argument --auto-id action store_true help derrive person identifier from filename N/A N/A N/A group add_argument --reevaluate action store_true help reevaluation enrolled faces, but do not save N/A group N/A N/A parser add_argument_group title Visualization N/A N/A N/A group add_argument --depth-map action store help generate a depth map of enrolled faces N/A N/A N/A group add_argument --feature-map action store help generate a feature map of enrolled faces N/A N/A N/A group add_argument --similarity-matrix action store help generate a similarity matrix of all implemented methods N/A N/A N/A group add_argument --roc-curve action store help generate a ROC curve of all implemented methods N/A N/A N/A group add_argument --draw-key-points action store_true help include key points on depth map N/A N/A N/A N/A parser parse_args parser N/A N/A N/A __name__ __main__ N/A N/A N/A main