commit | 66bec3fbc1908e6fa9e9f3e88169495fdd6fffdc | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Mon Aug 19 18:27:47 2019 -0700 |
committer | Jonas Larsson <ljonas@google.com> | Mon Aug 19 18:27:47 2019 -0700 |
tree | 27bfcf5cb6561d77c1cb06e7151d11cfbf3f5341 | |
parent | da4fbbc6df40a7437448671193204f41035da60e [diff] |
Respond to appsink CONTEXT queries On GStreamer 1.14 we get different GL context in the two tee branches which is one reason why the inference branch sees solid black frames (i.e. all zeroes). Since CONTEXT queries now aren't propagated from one tee branch to others they never reach glimagesink so it can't share its context. We thus respond with said context when the query reaches the appsink, so that only one GL context is shared between all GL elements. If multiple contexts are used there will be texture id mismatch between the tee branches. Change-Id: I7261e1cd480cb8811c3c106bf7b9e2dd557fe48c
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