nnstreamer_filter_mvncsdk2_sources,
c_args: ['-Wno-sign-compare'],
dependencies: nnstreamer_filter_mvncsdk2_deps,
- install: false,
+ install: true,
install_dir: filter_subplugin_install_dir
)
nnstreamer_filter_mvncsdk2_sources,
c_args: ['-Wno-sign-compare'],
dependencies: nnstreamer_filter_mvncsdk2_deps,
- install: false,
+ install: true,
install_dir: nnstreamer_libdir
)
endif
BuildRequires: python
BuildRequires: python-numpy
# for python custom filters
-BuildRequires: pkgconfig(python2)
-BuildRequires: python-numpy-devel
+BuildRequires: pkgconfig(python2)
+BuildRequires: python-numpy-devel
# Testcase requires bmp2png, which requires libpng
BuildRequires: pkgconfig(libpng)
# for tensorflow-lite
BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(capi-base-common)
BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(libmvnc)
BuildRequires: gst-plugins-bad-devel
BuildRequires: gst-plugins-base-devel
Requires: capi-nnstreamer-devel = %{version}-%{release}
%description -n nnstreamer-tizen-internal-capi-devel
Tizen internal API to construct the pipeline without the permissions.
+
+%package ncsdk2
+Summary: NNStreamer Intel Movidius NCSDK2 support
+Group: Multimedia/Framework
+%description ncsdk2
+NNStreamer's tensor_fliter subplugin of Intel Movidius Neural Compute stick SDK2.
%endif
%package cpp
%if %{with tizen}
%define enable_tizen -Denable-tizen=true -Denable-tizen-sensor=true
%define enable_api -Denable-capi=true
+%define enable_mvncsdk2 -Denable-movidius-ncsdk2=true
# Add Tizen's sensor framework API integration
%package tizen-sensor
mkdir -p build
-meson --buildtype=plain --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} --bindir=%{nnstexampledir} --includedir=%{_includedir} -Dinstall-example=true %{enable_tf} -Denable-pytorch=false -Denable-caffe2=false -Denable-env-var=false -Denable-symbolic-link=false %{enable_api} %{enable_tizen} %{restriction} %{enable_nnfw_runtime} build
+meson --buildtype=plain --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --libdir=%{_libdir} \
+ --bindir=%{nnstexampledir} --includedir=%{_includedir} -Dinstall-example=true %{enable_tf} \
+ -Denable-pytorch=false -Denable-caffe2=false -Denable-env-var=false -Denable-symbolic-link=false \
+ %{enable_api} %{enable_tizen} %{restriction} %{enable_nnfw_runtime} %{enable_mvncsdk2} build
ninja -C build %{?_smp_mflags}
%files -n nnstreamer-tizen-internal-capi-devel
%{_includedir}/nnstreamer/nnstreamer-tizen-internal.h
+
+%files -n nnstreamer-ncsdk2
+%defattr(-,root,root,-)
+%manifest nnstreamer.manifest
+%{_prefix}/lib/nnstreamer/filters/libnnstreamer_filter_movidius-ncsdk2.so
%endif
%files cpp