예제 #1
0
 public void executeLocalizationStep5(bool student)
 {
     if (VisionDLL.executeLocalizationStep5(task, student))
     {
         localizationDebug = VisionDLL.getBitmapFromRGBImage(VisionDLL.getLocalizationDebugImage(task));
         return;
     }
     throw new FaceRecognitionTask.FaceRecognitionException("Localization step 5: failed!");
 }
예제 #2
0
 public void executePreProcessingStep4(bool student)
 {
     if (VisionDLL.executePreProcessingStep4(task, student))
     {
         IntPtr image = VisionDLL.getResultPreProcessingStep4(task);
         preProcessing4 = VisionDLL.getBitmapFromRGBImage(image);
         VisionDLL.imageFreeRGB(image);
         return;
     }
     throw new FaceRecognitionTask.FaceRecognitionException("Pre-Processing step 4: failed!");
 }