Exemple #1
0
 void OnDestroy()
 {
     _isDone = true;
     _imageGrabber.Join();
     _capDev.Destroy();
     _image.Destroy();
     _faceImage.Destroy();
     _faceDetector.Destroy();
 }
Exemple #2
0
 public override void Destroy()
 {
     Stop();
     _img.Destory();
     if (_inited)
     {
         _detector.Destroy();
         _recognizer.Destroy();
     }
 }