public static AlignmentConfig GetDefault() { var rv = new AlignmentConfig() { Width = 768, Height = 480, FrameTopOdd = 465, FrameTopEven = 466, CharWidth = 21, CharHeight = 12 }; rv.CharPositions = new List<int>( new int[] { 9, 35, 59, 86, 112, 162, 188, 240, 266, 317, 342, 367, 393, 444, 470, 495, 521, 572, 598, 624, 649, 675, 700, 726 }); return rv; }
public OcrConfiguration() { Alignment = new AlignmentConfig(); Zones = new List<OcrZone>(); CharDefinitions = new List<CharDefinition>(); SupportedDevices = new List<string>(); }