aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs')
-rw-r--r--Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs
new file mode 100644
index 000000000..d6161e738
--- /dev/null
+++ b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs
@@ -0,0 +1,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;
+ }
+ }
+}