commit | ca709e7dcd9fe852539ecbae79343b89402981ae | [log] [tgz] |
---|---|---|
author | Cindy Liu <hcindyl@google.com> | Mon Jun 08 16:37:58 2020 -0700 |
committer | Cindy Liu <hcindyl@google.com> | Mon Jun 08 18:01:23 2020 -0700 |
tree | 5690771c01451ec7dade24e84463b77d8b8ab990 | |
parent | 9aad7d96229f05cf792211c524faddb575ec773d [diff] |
Enable OOBE edgetpuvision APIs with 4.19 kernel Use USB webcam, raw video, or picture file as the input. Will remove WAR after MIPI camera and vcodec are enabled. Stream mode is not supported since we don't have the vcodec. Add mdpd and gstreamer1.0-gl as the dependency to use v4l2convert and glcolorscale Test: edgetpu_detect --source=grace_hopper.bmp --model=/usr/share/edgetpudemo/mobilenet_ssd_v1_coco_quant_postprocess_edgetpu.tflite --label=/usr/share/edgetpudemo/coco_labels.txt --top_k=2 Test: edgetpu_classify --source=bird.bmp --model=mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite --label=inat_bird_labels.txt Test: edgetpu_detect --model=mobilenet_ssd_v2_face_quant_postprocess_edgetpu.tflite Test: edgetpu_demo --device Change-Id: Icfca5776e406e3c43b0b5f7a934c6c8f43626354
Python API to run inference on image data coming from the camera.
python3 setup.py sdist python3 setup.py bdist python3 setup.py sdist_wheel
Install stdeb
package by running apt-get install python3-stdeb
or pip3 install stdeb
. Then to generate debian folder run:
python3 setup.py --command-packages=stdeb.command debianize
To build debian pacakge run:
dpkg-buildpackage -b -rfakeroot -us -uc -tc