tensorflow-lite-demo: add version 01.00.00
PATCH v2 2/3 tensorflow-lite-demo: add version 01.00.00
* This supports classification and segmentation demos with tensorflow lite models running on Arm. It demonstrates the whole pipeline from image/video/camera input, to tensorflow lite inference, to display the classification/segemenation results.
* OpenCV is used for capturing the input and displaying the results.
Signed-off-by Hongmei Gou <[email protected]>
---
v2 change: replace "DESCRIPTION" with "SUMMARY"
.../files/run_classification.sh | 7 +++ .../tensorflow-lite/files/run_segmentation.sh | 8 +++ .../tensorflow-lite-demo_git.bb | 53 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/files/run_classification.sh create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/files/run_segmentation.sh create mode 100644 meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb
meta-arago-extras/recipes-support/tensorflow-lite/files/run_classification.sh new file +7 -0
@@ -0,0 +1,7 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_classification binary with the model, the input image, and the label file specified. +# Classification label is overlayed with the input image. Right click the image display window to exit. +./tflite_classification -m ../examples/mobilenet_v1_1.0_224_quant.tflite -i ../examples/grace_hopper.bmp -l ../examples/labels.txt
meta-arago-extras/recipes-support/tensorflow-lite/files/run_segmentation.sh new file +8 -0
@@ -0,0 +1,8 @@ +#!/bin/sh + +cd /usr/share/tensorflow-lite/demos + +# Run tflite_segmentation binary with the model and the input image specified. +# The display window shows the input(resized) image, segmentation map, overlay +# of the former two. Right click the image display window to exit. +./tflite_segmentation -m ./deeplabv3_257_mv_gpu.tflite -i ./bird_segmentation.bmp
meta-arago-extras/recipes-support/tensorflow-lite/tensorflow-lite-demo_git.bb new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.17.1