aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs
blob: d6161e738fa7342cf60617c4dc575cc652c8567b (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Transport.Web;

namespace Tango.TCC.BL.Web
{
    public class DefinitionResponse : WebResponseMessage
    {
        public String TemplateString { get; set; }
        public int SampleWidth { get; set; }
        public int SampleHeight { get; set; }
        public int CameraWidth { get; set; }
        public int CameraHeight { get; set; }
        public double SimilarityTolerance { get; set; }
        public CardDetectionHistogramMethods HistogramMethod { get; set; }
        public bool EnableDoubleChecking { get; set; }

        public DefinitionResponse()
        {
            SampleWidth = 300;
            SampleHeight = 330;
            CameraWidth = 1280;
            CameraHeight = 720;
            SimilarityTolerance = 50;
            HistogramMethod = CardDetectionHistogramMethods.Chi_Square;
            EnableDoubleChecking = true;
        }
    }
}