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: 621f203d3ca6e9ea7eeac0844a2cf30ecfaa79f8
  1. .gitignore
  2. MANIFEST.in
  3. README.md
  4. debian/
  5. edgetpuvision/
  6. plugins/
  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