Fix compatibility with glvideoflip

glsvgoverlaysink doesn't yet support affine transformations (there's a TODO).
But since the wrapped glimagesink advertises support via the ALLOCATION
query upstream elements such as glvideoflip doesn't actually flip buffers,
instead it just sets an affine transformation meta matrix that gets ignored.

To be able to support hflip and vflip as required by some demos, remove the
advertised support from ALLOCATION query so it matches this sink's actual
capabilities, and support basic flipping via fixed matrices.

Matrices and vertex shaders are the same ones that glimagesink uses,
and values for 'rotate-method' is part of GStreamer's stable API.

Change-Id: If1b62e3dc3a093e20ca6fd6b382589c3f192adcc
1 file changed
tree: 49edb018d5c76d075c573fc1d54114be2e4186da
  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