Started initial support for OpenCL. OpenCV doesn't yet officially support OpenCL LBP GPU acceleration -- but it should be coming soon

This commit is contained in:
Matt Hill
2014-01-19 13:22:41 -06:00
parent e1af64fcb1
commit 4004330987
7 changed files with 68 additions and 13 deletions

View File

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