Add and use custom plugin glsvgoverlaysink

This sink is purposedly written for the use cases at hand;
rendering SVG data on top of an OpenGL texture. It has multiple
benefits over off the shelf solutions:

* Draws SVG data with cairo straght into dmabuf backed textures
 without the need to re-upload every frame.
* Draws overlay on top of frame at the end of the pipeline instead
  of as a separate step upstream. This saves one full screen draw
  with blending.
* Is re-usable by any application using GStreamer (incl. gst-launch).

This sink together with optimizations on the GStreamer level runs
all existing 1080p demos at 30 fps without dropping a frame,
including rendering the overlays at 30 fps (up from ~12).

Change-Id: I62b3f7bf9fa838491be6ad1d891adb2075c00766
4 files changed
tree: b9483a339f8b15e20223d49ba81c82d15ce2b758
  1. debian/
  2. edgetpuvision/
  3. plugins/
  4. .gitignore
  5. MANIFEST.in
  6. README.md
  7. setup.py
  8. 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