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
  7. stdeb.cfg


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


python3 sdist python3 bdist python3 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 --command-packages=stdeb.command debianize

To build debian pacakge run:

dpkg-buildpackage -b -rfakeroot -us -uc -tc