Contents

OneAPI Ingestion Demo UDF Overview

Note

NativeOneAPIIngestion service is not working with the latest intel-basekit 2023.1.0 version as the support for blur sample is been removed

This User defined function (UDF) accepts the frames and shows how to use a DPC++ kernel with the OneAPI library to blur a simple frame content. The UDF config is shown as follows:

UDF config:

{
"name": "dpcpp_blur_udf",
"type": "native",
"height" : 50,
"width" : 50
}

Note

In the config, the height and width are used as the intensity of blurring each pixel in each row and column.

For more information on configs of other inbuilt UDFs such as dummy, fps, and resize udfs, refer to the UDFs-README

In EII, OneAPI use case demonstrates the usage of oneAPI Base Toolkit Image, which includes all the required features of oneAPI. Due to this, the docker build time is approximately two hours and the docker image size goes upto nearly 20 GB or more.

To use smaller oneAPI toolkit for the respective use case, you can use different oneAPI Toolkits instead of the oneAPI Base Toolkit.