Example #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);
 }
Example #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);
 }
 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;
 }
Example #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;
 }