using MainShell.Vision;
using System.Threading;
using System.Threading.Tasks;

namespace MainShell.Process
{
    public interface IWaferDieRecognizer
    {
        Task<WaferRecognitionFrameResult> RecognizeAsync(WaferCaptureFrame frame, WaferDiePositionContext context, CancellationToken cancellationToken);

        FindDieImageRequest BuildRequest(WaferCaptureFrame frame, WaferDiePositionContext context);
    }
}