From 88f1b2854c73431c3fb2852e43e6c5aa05102af3 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Tue, 19 Aug 2014 22:23:52 -0400 Subject: [PATCH] Removed unused "opencl" config attribute --- config/openalpr.conf | 1 - src/openalpr/config.cpp | 1 - src/openalpr/config.h | 1 - 3 files changed, 3 deletions(-) diff --git a/config/openalpr.conf b/config/openalpr.conf index 4284b79..17b6af9 100644 --- a/config/openalpr.conf +++ b/config/openalpr.conf @@ -31,7 +31,6 @@ detection_strictness = 3 max_detection_input_width = 1280 max_detection_input_height = 720 -opencl_enabled = 0 multithreading_cores = 1 diff --git a/src/openalpr/config.cpp b/src/openalpr/config.cpp index 1ecda6f..5ade5d2 100644 --- a/src/openalpr/config.cpp +++ b/src/openalpr/config.cpp @@ -127,7 +127,6 @@ void Config::loadValues(string country) runtimeBaseDir = getString("common", "runtime_dir", "/usr/share/openalpr/runtime_data"); - opencl_enabled = getBoolean("common", "opencl_enabled", false); multithreading_cores = getInt("common", "multithreading_cores", 1); detection_iteration_increase = getFloat("common", "detection_iteration_increase", 1.1); diff --git a/src/openalpr/config.h b/src/openalpr/config.h index fa839af..c41798b 100644 --- a/src/openalpr/config.h +++ b/src/openalpr/config.h @@ -45,7 +45,6 @@ class Config std::string country; - bool opencl_enabled; int multithreading_cores; float detection_iteration_increase;