summaryrefslogtreecommitdiff
path: root/runtime/contrib/style_transfer_app/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/contrib/style_transfer_app/README.md')
-rw-r--r--runtime/contrib/style_transfer_app/README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/runtime/contrib/style_transfer_app/README.md b/runtime/contrib/style_transfer_app/README.md
new file mode 100644
index 000000000..f56cb806e
--- /dev/null
+++ b/runtime/contrib/style_transfer_app/README.md
@@ -0,0 +1,23 @@
+# style_transfer_app
+
+A sample app that runs `style transfer models`
+
+It reads a neural network model from an `nnpackage` and an input image, converts the image through the network, and produces an output image.
+
+It supports both JPG and BMP image formats. It uses **runtime API** internally.
+
+## How to use
+
+```
+$ ./style_transfer_app --nnpackage path_to_nnpackage --input input_image --output output_image
+```
+
+## Install libjpeg
+
+To read/write JPG images, you should install `libjpeg` on the host and target device.
+
+```bash
+$ sudo apt-get install libjpeg-dev
+```
+
+If `libjpeg` is not installed on the host or target, this app only supports the BMP file format.