commit | 78e38c6f0b7c5d7a997d981fffeaa2847c8f894b | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Fri Nov 06 16:25:06 2020 -0800 |
committer | Jonas Larsson <ljonas@google.com> | Fri Nov 06 16:36:50 2020 -0800 |
tree | 5abee9cea671a437b929b53f7a712a74a4957806 | |
parent | 0497355e3c5409137a591d59211e4b48cca99cef [diff] |
Add generic glsvgoverlay element glsvgoverlay is similar to the old glsvgoverlaysink but is a filter instead of a sink. That means that the overlays are rendered on the frame and passed downstream instead of overlays being drawn on top of the frame in the sink. This enables passing the output to e.g. a video encoder and not just HDMI. Two modes are supported set by the bool property 'sync'. When true the element will require a SVG overlay with the same PTS (presentation timestamp) as the frame; no incoming video frame will be rendered without the corresponding overlay. The sync property set to false means the element will draw the last available SVG overlay over a frame, which allows for higher throughput and potentially visual fidelity at the expense of the occasional de-synced overlay and video frame. Bug: 161188385 Change-Id: Ice1047a0ebb1a3ae9f12f178e19a0cc9f22d1720
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