aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-04-08 00:44:51 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-04-08 00:44:51 +0300
commit08dd6000fe3a218221003876a699f448835b62e4 (patch)
tree6ef67384b80cd8176a4a2de8d09fae103a092357 /Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs
parent3254beb8358745efc6988df3d52a24fcb858fcdd (diff)
downloadTango-08dd6000fe3a218221003876a699f448835b62e4.tar.gz
Tango-08dd6000fe3a218221003876a699f448835b62e4.zip
Working on TCC...
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;
+ }
+ }
+}