Squirrowse/Squirrowse.Client/Service/ICameraService.cs
2019-11-02 21:06:44 +01:00

15 lines
381 B
C#

using OpenCvSharp;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Squirrowse.Client.Service
{
public interface ICameraService
{
public VideoCapture GetCamera(int height = 480, int widght = 640, double fps = 15f, bool disposable = false);
public Task<Mat> GetFrame(VideoCapture video);
}
}