[Example/custom/opencv] Backward compatibility for old opencv
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 8 Apr 2020 01:58:02 +0000 (10:58 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 8 Apr 2020 04:10:20 +0000 (13:10 +0900)
commit226f508a0413a282426061a2c290c05394374e01
tree903bc3bf5cca9c86047d8d9e02b07b3dc402d523
parent59716ddf1028c944eb4e76189b9fb803c480e77a
[Example/custom/opencv] Backward compatibility for old opencv

The previous commit is for OPENCV3. Keep the old code for OPENCV2 or before.

Changed in v2:
- Per the comment from Tae-Young Chung,
"opencv3 also supports this change (opencv3 support c++)
how old opencv version should be supported? for example, opencv2.x?"
The backward compatibility patch is adjusted to support 2 or before.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
nnstreamer_example/custom_example_opencv/nnstreamer_customfilter_opencv_scaler.cc