예제 #1
0
 private bool CameraStartGrabing(HKCameraBase cameraOperator)
 {
     if (!cameraOperator.IsGrabbing)
     {
         int nRet = cameraOperator.StartGrabImage();
         System.Threading.Thread.Sleep(200);
         if (nRet != 0)
         {
             return(false);
         }
     }
     return(true);
 }
예제 #2
0
 public HKCamera()
 {
     cameraOperator             = new HKCameraBase();
     cameraOperator.ImageReady += CameraOperator_ImageReady;
 }