Fix compatibility with new python3-opengl

Also move the Python plugins to a 'python' subdir to make
local development and testing easier. With this change one
can put this repo on the device and run things like this
to use the uninstalled plugins from the local repo.

mendel@jumbo-jet:~/edgetpuvision$ GST_PLUGIN_PATH=. python3 -m edgetpuvision.detect_server [...]

Bug: 161288651
Change-Id: Ia5135e62a914cf68f7347344b72952ec25764590
4 files changed
tree: 1c9927d57b986bdfa27343b3c742432dd2ddd7c4
  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