コード例 #1
0
 public FaceRecognitionLibrary(string nameOrConnectionString)
     : this()
 {
     _faceDetectionAlgorithm = new FaceDetectionAlgorithm();
     _faceRecognitionAlgorithm = new FaceRecognitionAlgorithm(nameOrConnectionString, _faceDetectionAlgorithm);
     _fromFileDatabaseFiller = new FromFileDatabaseFiller(_faceRecognitionAlgorithm);
 }
コード例 #2
0
 public FaceRecognitionLibrary(string faceHaarCascadePath, string eyeHaarCascadePath, string nameOrConnectionString)
     : this()
 {
     _faceDetectionAlgorithm = new FaceDetectionAlgorithm(faceHaarCascadePath, eyeHaarCascadePath);
     _faceRecognitionAlgorithm = new FaceRecognitionAlgorithm(nameOrConnectionString, _faceDetectionAlgorithm);
 }
コード例 #3
0
 public FaceRecognitionAlgorithm(string nameOrConnectionString, FaceDetectionAlgorithm faceDetectionAlgorithm, string faceBaseDirectory)
     : this(faceBaseDirectory)
 {
     _unitOfWork = new UnitOfWork(nameOrConnectionString);
     _faceDetectionAlgorithm = faceDetectionAlgorithm;
 }
コード例 #4
0
 public FaceRecognitionAlgorithm(string nameOrConnectionString, FaceDetectionAlgorithm faceDetectionAlgorithm)
     : this()
 {
     _unitOfWork = new UnitOfWork(nameOrConnectionString);
     _faceDetectionAlgorithm = faceDetectionAlgorithm;
 }
コード例 #5
0
 public FaceRecognitionAlgorithm(string nameOrConnectionString, FaceDetectionAlgorithm faceDetectionAlgorithm, string faceBaseDirectory)
     : this(faceBaseDirectory)
 {
     _unitOfWork = new UnitOfWork(nameOrConnectionString);
     _faceDetectionAlgorithm = faceDetectionAlgorithm;
 }
コード例 #6
0
 public FaceRecognitionAlgorithm(string nameOrConnectionString, FaceDetectionAlgorithm faceDetectionAlgorithm)
     : this()
 {
     _unitOfWork = new UnitOfWork(nameOrConnectionString);
     _faceDetectionAlgorithm = faceDetectionAlgorithm;
 }