From 35da74931841df2a5b17300204a62c9010cae08e Mon Sep 17 00:00:00 2001 From: Peter Rekdal Sunde Date: Wed, 7 Oct 2015 09:53:19 +0200 Subject: [PATCH 1/3] Add missing include. --- src/openalpr/utility.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openalpr/utility.cpp b/src/openalpr/utility.cpp index 7aea759..9932b13 100644 --- a/src/openalpr/utility.cpp +++ b/src/openalpr/utility.cpp @@ -19,6 +19,7 @@ #include #include +#include #include "utility.h" From 5178a6fe7692c95cf8648217f408b5447d8740f1 Mon Sep 17 00:00:00 2001 From: Peter Rekdal Sunde Date: Wed, 7 Oct 2015 12:19:48 +0200 Subject: [PATCH 2/3] https://github.com/openalpr/openalpr/commit/61f37ba596949e87e29d4fc3b00f9bb5fca1ef65 --- src/bindings/csharp/openalpr-net/config-net.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/bindings/csharp/openalpr-net/config-net.h b/src/bindings/csharp/openalpr-net/config-net.h index 8a6d3c8..734009c 100644 --- a/src/bindings/csharp/openalpr-net/config-net.h +++ b/src/bindings/csharp/openalpr-net/config-net.h @@ -384,6 +384,17 @@ namespace openalprnet } } + property bool MustMatchPattern { + bool get() + { + return this->m_config->mustMatchPattern; + } + void set(bool value) + { + this->m_config->mustMatchPattern = value; + } + } + property String^ OcrLanguage { String^ get() { From a5440b09e9c086c6e5cc4321cb212678b672d76f Mon Sep 17 00:00:00 2001 From: Peter Rekdal Sunde Date: Wed, 7 Oct 2015 12:19:56 +0200 Subject: [PATCH 3/3] https://github.com/openalpr/openalpr/commit/ec24d1d1474e2acecd3dcf48df37d980e125141d --- src/bindings/csharp/openalpr-net/types-net.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bindings/csharp/openalpr-net/types-net.h b/src/bindings/csharp/openalpr-net/types-net.h index 002d67c..e8faaea 100644 --- a/src/bindings/csharp/openalpr-net/types-net.h +++ b/src/bindings/csharp/openalpr-net/types-net.h @@ -12,7 +12,8 @@ namespace openalprnet public enum class AlprDetectorTypeNet : int { DetectorLbpCpu = alpr::DETECTOR_LBP_CPU, DetectorLbpGpu = alpr::DETECTOR_LBP_GPU, - DetectorLbpMorphCpu = alpr::DETECTOR_MORPH_CPU + DetectorLbpMorphCpu = alpr::DETECTOR_MORPH_CPU, + DetectorLbpOpencl = alpr::DETECTOR_LBP_OPENCL }; } } \ No newline at end of file