add camera driver layer
This commit is contained in:
19
LibCamera/ICameraDriver.cs
Normal file
19
LibCamera/ICameraDriver.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibCamera
|
||||
{
|
||||
public delegate void OnCameraImage(Bitmap bmp);
|
||||
public interface ICameraDriver
|
||||
{
|
||||
event OnCameraImage OnCameraImage;
|
||||
void Initialize(string serial, string pixelFormat, double exposure, double gain);
|
||||
void Stop();
|
||||
void GrabImage();
|
||||
bool IsOpened();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user