public IndexModel(
     FaceMatchSettings faceMatchSettings,
     IFaceMatcher faceMatcher,
     ICannedExample cannedExample,
     ILogger <IndexModel> logger)
 {
     this.FaceMatchSettings = faceMatchSettings;
     this.faceMatcher       = faceMatcher;
     this.cannedExample     = cannedExample;
     this.logger            = logger;
 }
Exemple #2
0
 public MatchFaceToNamesCmd(IFaceMatcher faceMatcher, IFileSystem fileSystem, IConsole console)
     : base(console, fileSystem)
 {
     Guard.Argument(faceMatcher, nameof(faceMatcher)).NotNull();
     this.faceMatcher = faceMatcher;
 }