commit | 24a6267fb322c02d0138bc5a32cf7fb2ddf47b5b | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Tue Oct 08 11:21:21 2019 -0700 |
committer | June Tate-Gans <jtgans@google.com> | Wed Oct 09 19:17:32 2019 -0500 |
tree | 621f203d3ca6e9ea7eeac0844a2cf30ecfaa79f8 | |
parent | 53608cc020d328c0102eb999aaaadbd8a284d713 [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