commit | 75db0cb35828adca3612f1900f71b1bcf0a449c5 | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Tue Oct 08 11:21:21 2019 -0700 |
committer | Jonas Larsson <ljonas@google.com> | Tue Oct 08 11:22:58 2019 -0700 |
tree | 49edb018d5c76d075c573fc1d54114be2e4186da | |
parent | a7e25299305c511a4d202fe83b548f65adbf5eb7 [diff] |
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
Python API to run inference on image data coming from the camera.
python3 setup.py sdist python3 setup.py bdist python3 setup.py sdist_wheel
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