summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: