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
6 files changed
tree: 5690771c01451ec7dade24e84463b77d8b8ab990
  1. debian/
  2. edgetpuvision/
  3. plugins/
  4. .gitignore
  5. LICENSE
  6. MANIFEST.in
  7. README.md
  8. setup.py
  9. stdeb.cfg
README.md

edgetpuvision

Python API to run inference on image data coming from the camera.

Build

python3 setup.py sdist python3 setup.py bdist python3 setup.py sdist_wheel

Debian pacakge

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