diff --git a/documentation/getting_started.md b/documentation/getting_started.md index 6b6dab8..0a7adce 100644 --- a/documentation/getting_started.md +++ b/documentation/getting_started.md @@ -243,6 +243,37 @@ WARNING: Default profile is used for sign. This signed package is valid for emul Package File Location: nnstreamer-example/Tizen.web/ImageClassificationOffloading/.buildResult/ImageClassificationOffloading.wgt ``` +We need a hybrid app to get the port value automatically from the offloading service. + +```bash +$ cd nnstreamer-example/Tizen.web/ImageClassificationOffloadingService +$ tizen build-native -a arm -c llvm -C Debug -- . +[PLATFORM] Tizen-8.0 +...omitted... +Total time: 00:00:00.314 + +$ tizen package -t tpk -- Debug +Initialize... OK +...omitted... +Package File Location: nnstreamer-example/Tizen.web/ImageClassificationOffloadingService/Debug/EQmf4iSfpX-1.0.0-arm.tpk + +$ cd nnstreamer-example/Tizen.web/ImageClassificationOffloading +$ tizen package -t wgt -r ../ImageClassificationOffloadingService/Debug/EQmf4iSfpX-1.0.0-arm.tpk -- .buildResult/ImageClassificationOffloading.wgt +The active profile is used for signing. If you want to sign with other profile, please use '--sign' option. +...omitted... +Package( nnstreamer-example/Tizen.web/ImageClassificationOffloading/.buildResult/ImageClassificationOffloading.wgt ) is created successfully. +``` +Tizen Web App build process is done automatically through github actions. +So if you don't need to build it yourself, you can download it from this [link](https://github.com/nnstreamer/nnstreamer-example/actions/workflows/tizen-build.yml). + +Click `Run workflow` with main branch. + +![Github action workflow](img/Github_action_workflow.png) + +You can download `tizen_web_ImageClassificationOffloading` easily. + +![Github action artifacts](img/Github_artifacts.png) + ### Running the Tizen Web App on the Tizen Emulator As mentioned above, the Tizen CLI supports installing and running the Tizen Web App on the Tizen @@ -645,13 +676,14 @@ successfully installed and launched on the device. ### Run Tizen-to-Android Offloading To run Tizen-to-Android Offloading you need to connect both devices to the same Wi-Fi network or -ethernet. Press the start button on the Android device to run the server. Then, the port number the -server is listening will display on the screen like the following screenshot. +ethernet. Press the load models button on the Android device to run the offloading service +based on the conf files. Then, the port number to which the service is listening will display +on the screen like the following screenshot. ![Android Device (Start the server): A-34-arm64](img/A-34-arm64_port.jpg) -Use android's port number in Tizen application and create pipelines by pressing buttons. When the -image classification task runs successfully, the detected label and inference time are displayed on +Tizen devices automatically find offloading services using the model ID. When the image +classification task runs successfully, the detected label and inference time are displayed on the screen as shown below. ![Tizen Device (Start the client): T-8.0-armv7l](img/T-8.0-armv7l_run.png) diff --git a/documentation/img/A-34-arm64_port.jpg b/documentation/img/A-34-arm64_port.jpg index 8840643..6fd767b 100755 Binary files a/documentation/img/A-34-arm64_port.jpg and b/documentation/img/A-34-arm64_port.jpg differ diff --git a/documentation/img/A-34-arm64_run.jpg b/documentation/img/A-34-arm64_run.jpg index 6a7dc30..677bbc4 100755 Binary files a/documentation/img/A-34-arm64_run.jpg and b/documentation/img/A-34-arm64_run.jpg differ diff --git a/documentation/img/Github_action_workflow.png b/documentation/img/Github_action_workflow.png new file mode 100644 index 0000000..d498517 Binary files /dev/null and b/documentation/img/Github_action_workflow.png differ diff --git a/documentation/img/Github_artifacts.png b/documentation/img/Github_artifacts.png new file mode 100644 index 0000000..916281b Binary files /dev/null and b/documentation/img/Github_artifacts.png differ diff --git a/documentation/img/T-8.0-armv7l_run.png b/documentation/img/T-8.0-armv7l_run.png index db50733..93b9ce1 100644 Binary files a/documentation/img/T-8.0-armv7l_run.png and b/documentation/img/T-8.0-armv7l_run.png differ