Tizen Native API  5.5
Single

The NNStreamer Single API provides interfaces to invoke a neural network model with a single instance of input data.

Required Header

#include <nnstreamer/nnstreamer-single.h>

Overview

The NNStreamer Single API provides interfaces to invoke a neural network model with a single instance of input data. This function is a syntactic sugar of NNStreamer Pipeline API with simplified features; thus, users are supposed to use NNStreamer Pipeline API directly if they want more advanced features. The user is expected to preprocess the input data for the given neural network model.

This function allows the following operations with NNStreamer:

Note that this function set is supposed to be thread-safe.

Related Features

This function is related with the following features:

It is recommended to probe features in your application for reliability.
You can check if a device supports the related features for this function by using System Information, thereby controlling the procedure of your application.
To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.
For example, your application accesses to the camera device, then you have to add 'http://tizen.org/privilege/camera' into the manifest of your application.
More details on featuring your application can be found from Feature Element.