[Example/OpenCV] Add OpenCV custom filter example
authorSangjung Woo <sangjung.woo@samsung.com>
Mon, 22 Oct 2018 16:14:31 +0000 (01:14 +0900)
committersewon <sewon.oh@samsung.com>
Wed, 24 Oct 2018 07:06:45 +0000 (16:06 +0900)
commit7743e8449b28ee1fc0668eb8c9a241c083b97eb1
tree5b48d97795a6b1ed2b620b410930ff0886500131
parent9cc5938d102c316bd5a0af0890f25ff28a998fc7
[Example/OpenCV] Add OpenCV custom filter example

This patch newly adds the OpenCV custom filter example, which scales an
input tensor of [N][input_h][input_w][M] to an ouput tensor of
[N][output_h][output_w][M]. The shape of an output tensor could set by
custom property as "custom=[new-x]x[new-y]", where new-x and new-y are
unsigned integers.

This example is developed based on
nnstreamer_customfilter_example_scaler_allocator.c file.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
debian/control
nnstreamer_example/CMakeLists.txt
nnstreamer_example/custom_example_opencv/CMakeLists.txt [new file with mode: 0644]
nnstreamer_example/custom_example_opencv/nnstreamer_customfilter_opencv_scaler.cc [new file with mode: 0644]
packaging/nnstreamer.spec
tests/nnstreamer_filter_custom/runTest.sh