Thundercomm TurboX C610 Open Kit
Rev. 1.0
MAY CONTAIN U.S. AND INTERNATIONAL EXPORT CONTROLLED INFORMATION
42
3.Play the wav file
# adb pull /data/dmic0.wav .
# adb pull /data/dmic1.wav .
# adb pull /data/6mics.wav .
Play the *.wav , you can hear what your said before.
3.12
TFLite
1.
For testing tensorflow lite using label image:
$ adb shell mkdir /data/tf
2.
Get model and label file:
$ wget
https://storage.googleapis.com/download.tensorflow.org/models/tflite/mobilenet_v1_224_and
roid_quant_2017_11_08.zip
$ unzip mobilenet_v1_224_android_quant_2017_11_08.zip
$ cd mobilenet_v1_224_android_quant_2017_11_08/
$ adb push mobilenet_quant_v1_224.tflite /data/tf
$ adb push labels.txt /data/tf
3.
Get sample image:
$ wget
https://upload.wikimedia.org/wikipedia/commons/thumb/a/ad/Commodore_Grace_M._Hoppe
r%2C_USN_%28covered%29.jpg/800px-
Commodore_Grace_M._Hopper%2C_USN_%28covered%29.jpg
$ convert 800px-Commodore_Grace_M._Hopper\,_USN_\(covered\).jpg grace_hopper.bmp
$ adb push grace_hopper.bmp /data/tf
$ adb shell
# cd /data/tf/
# label_image -a 1 -m mobilenet_quant_v1_224.tflite -c 10
4.
If the following information appears, the test is successful
/data/tf # label_image -a 1 -m mobilenet_quant_v1_224.tflite -c 10