From 120bc72f4e2e27ea1809cbe12bdceef2a8e8c9fd Mon Sep 17 00:00:00 2001 From: Kevron Rees Date: Mon, 4 Mar 2013 13:58:24 -0800 Subject: [PATCH] cleaned up cmake and readme --- CMakeLists.txt | 6 ------ plugins/opencvlux/README | 4 ++++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3d1597..9123046 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 b16db9d..e118bd7 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: -- 2.7.4