Render full size overlays, draw with glvideomixer

With this approach there's no need for downscaling as video and
overlay rendering are decoupled in glvideomixer, so we can do
1080p@30 in real time. Video frames are displayed at their
normal rate and overlays are rendered at a potentially slower
rate if we can't keep up without the video stalling.

The main improvment here is a custom source element that enables
us to hit a fast GL texture upload path where we draw the overlay
with cairo/rsvg straight into a dma-buf (allocated by ion) and use
that as a texture in glvideomixer.

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