--- title: Tizen Sample short-description: Tizen MLAPI Sample ... # Tizen MLAPI Sample As NPU-DDK officially supports Tizen MLAPI (i.e., NNStreamer), it's possible for Tizen app developers to access NPU-DDK libraries and NPU simulator on Tizen emulator. ## Prerequisites The sample application requires Tizen emulator 6.0 or more. - `Tizen 6.0`: up-to-date version available in offical Tizen Studio - `Tizen 6.5`: staging version available in http://107.110.2.162/packages The mandatory packages to be installed are as follows. - `libmrpsim`: NPU Simulator ([Repo](https://github.sec.samsung.net/AIP/SIM_TrinityVision2)) - `npu-engine`: NPU User Library ([Repo](https://github.sec.samsung.net/AIP/NPU_SystemService)) - `nnstreamer-trix-engine`: NNStreamer Tensor Filter Subplugin for TRIx Engine ([Repo](https://github.sec.samsung.net/AIP/NPU_SystemService/tree/tizen/plugins/nnstreamer)) Note that before such packages are shipped to official emulator images, you should download the pre-built packages in [here](https://art.sec.samsung.net/artifactory/aip_generic/RPMS_FOR_TIZEN_EMUL/) and customize your emulator image. Please refer to [here](https://github.sec.samsung.net/AIP/TRIV2_TIZEN_SAMPLE) for detail. ```console $ git clone https://github.sec.samsung.net/AIP/TRIV2_TIZEN_SAMPLE $ cd TRIV2_TIZEN_SAMPLE $ ls install.sh README.md RPMS TRIV2_SAMPLE $ sdb devices List of devices attached emulator-26101 device m-0405-1 $ ls -1 RPMS libmrpsim-3.8.82-0.i686.rpm nnstreamer-trix-engine-2.5.0-0.i686.rpm npu-engine-2.5.0-0.i686.rpm npu-engine-utils-2.5.0-0.i686.rpm $ bash install.sh ... ``` ## Tizen Sample App Then, you can just open `TRIV2_SAMPLE` project in Tizen Studio, and run the project on the customized emulator image! ![demo](https://github.sec.samsung.net/storage/user/69000/files/032d9f80-964a-11eb-957a-177261e81484)