summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevron Rees <kevron_m_rees@linux.intel.com>2013-03-04 13:58:24 -0800
committerKevron Rees <kevron_m_rees@linux.intel.com>2013-03-04 13:58:24 -0800
commit120bc72f4e2e27ea1809cbe12bdceef2a8e8c9fd (patch)
tree303bd978e2ca1c0dfd01f80e9eb32d9e28e93893
parentde1ea352a2887814bef27f8db73b0ee32b06881b (diff)
downloadautomotive-message-broker-120bc72f4e2e27ea1809cbe12bdceef2a8e8c9fd.tar.gz
cleaned up cmake and readme
-rw-r--r--CMakeLists.txt6
-rw-r--r--plugins/opencvlux/README4
2 files changed, 4 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b3d15972..91230460 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,12 +77,6 @@ if(use_qtcore)
find_package( Qt4 REQUIRED )
- if(opencvlux_plugin)
- message(STATUS "Not setting DONT_USE_QTGUI flag")
- else(opencvlux_plugin)
- set( QT_DONT_USE_QTGUI TRUE )
- endif(opencvlux_plugin)
-
include(${QT_USE_FILE})
set(include_dirs ${include_dirs} ${QT_INCLUDE_DIRS})
set(link_libraries ${link_libraries} ${QT_LIBRARIES})
diff --git a/plugins/opencvlux/README b/plugins/opencvlux/README
index b16db9d8..e118bd7b 100644
--- a/plugins/opencvlux/README
+++ b/plugins/opencvlux/README
@@ -4,6 +4,10 @@ This plugin simulates the ExteriorBrigtness property using a traditional webcame
by taking the mean pixel intensity of the web camera image and estimating lux. The particular
can be calibrated using the "pixelUpperBound" and "pixelLowerBound" variables.
+To enable the OpenCV "lux" plugin, run cmake and enable the opencvlux_plugin option:
+
+cmake -Dopencvlux_plugin=On ..
+
Currently, this plugin has been tested with OpenCV 2.4.4.
To use the OpenCV plugin, add the following to the "sources" array in /etc/ambd/config: