namespace LindtLeerformPlugin.Models;
public class LeerformRecipe
{
public string RecipeName { get; set; } = string.Empty;
public CellPattern Pattern { get; set; } = new();
/// LAB a* threshold for white chocolate (THRESH_BINARY_INV). Pixels with a* below this become foreground.
public int AThreshold { get; set; } = 140;
/// LAB L* threshold for dark chocolate (THRESH_BINARY_INV). Pixels with L* below this become foreground.
public int LThreshold { get; set; } = 100;
/// Minimum contour area (px) for a detected blob to count.
public int MinBlobArea { get; set; } = 100;
/// Maximum contour area (px) for a detected blob to count.
public int MaxBlobArea { get; set; } = 5000;
public string ThumbnailBase64 { get; set; } = string.Empty;
}