Added preference for multithreading_cores (controls number of threads spawned during recognition)

This commit is contained in:
Matt Hill
2014-02-20 11:53:42 -06:00
parent cb6e266754
commit 35820e3b0f
3 changed files with 5 additions and 0 deletions

View File

@@ -72,6 +72,8 @@ void Config::loadValues(string country)
{
opencl_enabled = getBoolean("common", "opencl_enabled", false);
multithreading_cores = getInt("common", "multhreading_cores", 1);
maxPlateWidthPercent = getFloat("common", "max_plate_width_percent", 100);
maxPlateHeightPercent = getFloat("common", "max_plate_height_percent", 100);