Exemplo n.º 1
0
 public override void InitFrame(string device, DeviceFrame frame) {
   if (helper == null) {
     helper = new FaceHelper(frame.Width, frame.Height);
   }
   base.InitFrame(device + "_detect", frame);
   base.InitFrame(device + "_reco", frame);
 }
Exemplo n.º 2
0
 public override void InitFrame(string device, DeviceFrame frame)
 {
     if (helper == null)
     {
         helper = new FaceHelper(frame.Width, frame.Height);
     }
     base.InitFrame(device + "_detect", frame);
     base.InitFrame(device + "_reco", frame);
 }
Exemplo n.º 3
0
 public DetectTask(TimeSpan dueTime, TimeSpan interval, FaceHelper helper)
   : base(dueTime, interval) {
   Name = "Detection";
   Helper = helper;
 }
Exemplo n.º 4
0
 public RecognizeTask(TimeSpan dueTime, TimeSpan interval, FaceHelper helper)
     : base(dueTime, interval)
 {
     Name   = "Recognize";
     Helper = helper;
 }
Exemplo n.º 5
0
 public DetectTask(TimeSpan dueTime, TimeSpan interval, FaceHelper helper)
     : base(dueTime, interval)
 {
     Name   = "Detection";
     Helper = helper;
 }
 public RecognizeTask(TimeSpan dueTime, TimeSpan interval, FaceHelper helper)
   : base(dueTime, interval) {
   Name = "Recognize";
   Helper = helper;
 }