blob: e63e0bdd13bd12faa51ff9e778ceb4e8b312dcee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
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<DetectionBenchmark> 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 CardDetectionConfig()
{
DesiredBitmapWidth = 300;
DesiredBitmapHeight = 330;
Columns = 10;
Rows = 11;
TargetIndex = 89;
SimilarityTolerance = 20;
Benchmarks = new List<DetectionBenchmark>();
HistogramMethod = CardDetectionHistogramMethods.Intersection;
EnableDoubleChecking = true;
}
}
}
|