Squirrowse/Squirrowse.Client/Service/ICameraService.cs

12 lines
265 B
C#
Raw Normal View History

2019-11-06 13:47:00 +01:00
using System.Collections.Generic;
2019-11-04 14:28:45 +01:00
using System.Threading.Tasks;
2019-11-04 09:29:37 +01:00
using OpenCvSharp;
2019-11-01 19:04:24 +01:00
namespace Squirrowse.Client.Service
{
public interface ICameraService
{
2019-11-04 14:28:45 +01:00
Task<Mat> GetFrame();
IAsyncEnumerable<byte[]> GetFramesAsyncEnumerator();
2019-11-01 19:04:24 +01:00
}
2019-11-04 09:29:37 +01:00
}