using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.PMR.TCC; namespace Tango.TCC.BL { public class CardDetectionConfig { public List Benchmarks { get; set; } public int DesiredBitmapWidth { get; set; } public int DesiredBitmapHeight { get; set; } public int Columns { get; set; } public int Rows { get; set; } public int TargetIndex { get; set; } public byte[] TemplateBitmapBytes { get; set; } public double SimilarityTolerance { get; set; } public CardDetectionHistogramMethods HistogramMethod { get; set; } public bool EnableDoubleChecking { get; set; } public bool EnforceBarcodeDetection { get; set; } public bool PerformCLAHE { get; set; } public CardDetectionConfig() { DesiredBitmapWidth = 300; DesiredBitmapHeight = 330; Columns = 10; Rows = 11; TargetIndex = 89; SimilarityTolerance = 20; Benchmarks = new List(); HistogramMethod = CardDetectionHistogramMethods.Intersection; EnableDoubleChecking = true; } } }