summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevron Rees <kevron_m_rees@linux.intel.com>2013-07-24 09:18:29 -0700
committerKevron Rees <kevron_m_rees@linux.intel.com>2013-07-24 09:19:33 -0700
commit9f30341df2458a7d3265a73d519fc60e56ec14bb (patch)
tree83960980b7c443294b00158bb2b70301a7da3848
parent183cd231de273409ab2d7b57def0cd9ba84ae6b1 (diff)
downloadautomotive-message-broker-9f30341df2458a7d3265a73d519fc60e56ec14bb.tar.gz
fixed opencv config
-rw-r--r--examples/CMakeLists.txt2
-rw-r--r--examples/opencvdbusconfig19
-rw-r--r--examples/opencvluxconfig4
3 files changed, 21 insertions, 4 deletions
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"
}
]
}