Use MDP for scaling and color space conversion

Use two MDP instances for scaling and color space conversion, one for display
and one for ML

Refactor the input tensor generation to support grayscale model

Tested: edgetpu_detect with RGB and Gray FSSD models

Change-Id: I30d5051bd5227a756762590aca444c31b999127c
4 files changed
tree: 8fd14634e230d31386f03d0eff07fc2a746575ea
  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