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
5 files changed
tree: 5abee9cea671a437b929b53f7a712a74a4957806
  1. debian/
  2. edgetpuvision/
  3. plugins/
  4. .gitignore
  5. LICENSE
  6. MANIFEST.in
  7. README.md
  8. setup.py
  9. 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