using OpenCvSharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IrisCtrl.Camera.Service.Impl { public class CameraServiceImpl:CameraService { public int open() { int result = 0; /*VideoCapture captue = new VideoCapture(); Mat frame = new Mat(); while (true) { captue.Retrieve(frame, 0); Cv2.WaitKey(30); }*/ return result; } public int close() { int result = 0; try { result = 0; } catch(Exception ex) { result = -1; } return result; } public Mat[] CapturePicture() { Mat[] img = new Mat[2]; return img; } } }