From 9f30341df2458a7d3265a73d519fc60e56ec14bb Mon Sep 17 00:00:00 2001 From: Kevron Rees Date: Wed, 24 Jul 2013 09:18:29 -0700 Subject: fixed opencv config --- examples/CMakeLists.txt | 2 +- examples/opencvdbusconfig | 19 +++++++++++++++++++ examples/opencvluxconfig | 4 +--- 3 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 examples/opencvdbusconfig diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index ddd95d49..8d3121f4 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,5 +1,5 @@ set(amb_examples configwebsocketsink configwebsocketsource configwheel databaseconfig databasesource dbusconfig exampleconfig - gpsdconfig obdsourceconfig opencvluxconfig qtmainloopconfig) + gpsdconfig obdsourceconfig opencvluxconfig opencvdbusconfig qtmainloopconfig) install (FILES ${amb_examples} DESTINATION /etc/ambd/examples) diff --git a/examples/opencvdbusconfig b/examples/opencvdbusconfig new file mode 100644 index 00000000..4cc9e4fc --- /dev/null +++ b/examples/opencvdbusconfig @@ -0,0 +1,19 @@ +{ + "sources" : [ + { + "name" : "OpenCV LUX", + "path" : "/usr/lib/automotive-message-broker/opencvluxplugin.so", + "threaded" : "true", + "fps" : "30", + "pixelLowerBound" : "18", + "pixelUpperBound" : "255", + "device" : "0" + }, + ], + "sinks": [ + { + "path" : "/usr/lib/automotive-message-broker/dbussinkplugin.so", + }, + ] +} + diff --git a/examples/opencvluxconfig b/examples/opencvluxconfig index 9ba13ad2..d0c01b1f 100644 --- a/examples/opencvluxconfig +++ b/examples/opencvluxconfig @@ -16,9 +16,7 @@ "sinks": [ { "name" : "Example sink", - "path" : "/usr/lib/automotive-message-broker/examplesinkplugin.so", - "interface" : "lo", - "port" : "23000" + "path" : "/usr/lib/automotive-message-broker/examplesinkplugin.so" } ] } -- cgit v1.2.1