Files
HawkeyeVision/Plugins/LindtLeerformPlugin/Models/LeerformRecipe.cs
EugeneTes 8704d0b5ac 2.0.15
profile influences configuration
2026-05-15 11:54:36 +02:00

22 lines
869 B
C#

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