[Example/OpenCV] Add OpenCV custom filter example: Average (#704)
authorSangjung Woo <again4you@gmail.com>
Sun, 4 Nov 2018 12:14:04 +0000 (21:14 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Sun, 4 Nov 2018 12:14:04 +0000 (21:14 +0900)
commitb6393c99bf99160ea247737c07858a12766fa16f
tree50196f138f2cb90dca8ce45c3630a49cb53e85aa
parent3a869d0ea554108e6b173743f2f4fe7b38dde3f8
[Example/OpenCV] Add OpenCV custom filter example: Average (#704)

* [Example/OpenCV] Add OpenCV custom filter example: Average

This patch newly adds an OpenCV custom filter example, which calculates
the average value of input tensor for each channel. The shape of the
input tensor is [N][y][x][M] and that of the output tensor is
[N][1][1][M].

This example is developed based on
nnstreamer_customfilter_example_average.c file.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
[Touched up a few typos]
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
nnstreamer_example/custom_example_opencv/CMakeLists.txt
nnstreamer_example/custom_example_opencv/nnstreamer_customfilter_opencv_average.cc [new file with mode: 0644]
tests/nnstreamer_filter_custom/runTest.sh