-
Notifications
You must be signed in to change notification settings - Fork 21
Home
Mirza Krak edited this page Apr 5, 2020
·
5 revisions
Welcome to the meta-coral wiki!
Include the following in your build:
IMAGE_INSTALL_append = " \
python3-edgetpu \
python3-edgetpu-examples \
python3-edgetpuvision \
"
On the device go to the examples directory:
cd /usr/share/edgetpu/examples
Run the classify_image.py
example:
python3 classify_image.py \
--model models/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite \
--label models/inat_bird_labels.txt \
--image images/parrot.jpg
python3 classify_image.py \
--model models/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite \
--label models/inat_bird_labels.txt \
--image images/owl.jpg
python3 classify_image.py \
--model models/mobilenet_v1_1.0_224_quant.tflite \
--label models/imagenet_labels.txt \
--image images/hot_dog.jpg