Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
.cm
README.md
classify.cpp
image_helper.h
labels.txt
preprocess.py

README.md

Classification program for TensorFlow Lite

This demo program uses a statically linked TensorFlow Lite library.

Prerequisites

TensorFlow Lite package

$ ck install package:lib-tflite-0.1.7-src-static [--target_os=android23-arm64]

NB: Use --target_os=android23-arm64 to build for Android API 23 (v6.0 "Marshmallow") or similar.

Weights package

Install a model providing a graph as tflite file e.g.:

$ ck install package:tensorflowmodel-mobilenet-v1-1.0-224-2018_02_22-py
$ ck install package:tensorflowmodel-mobilenet-v2-1.0-224-py

Build

$ ck compile program:tflite-classification [--target_os=android23-arm64]

Run

$ ck run program:tflite-classification [--target_os=android23-arm64]