commit | a68a06af2b7f5ac1ce12c8fc46bbff67cfdff64f | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Tue Mar 05 11:59:42 2019 -0800 |
committer | Jonas Larsson <ljonas@google.com> | Wed Mar 06 11:58:24 2019 -0800 |
tree | 3e122093f125b31d9d95f90fa58f4c5dcb6135ab | |
parent | cfc9f92fa8b959b2a1c598920840d9c5fe3e4845 [diff] |
Render full size overlays, draw with glvideomixer With this approach there's no need for downscaling as video and overlay rendering are decoupled in glvideomixer, so we can do 1080p@30 in real time. Video frames are displayed at their normal rate and overlays are rendered at a potentially slower rate if we can't keep up without the video stalling. The main improvment here is a custom source element that enables us to hit a fast GL texture upload path where we draw the overlay with cairo/rsvg straight into a dma-buf (allocated by ion) and use that as a texture in glvideomixer. Change-Id: Icf69e29ab55a95122754a6e9f2c63ac7adc2d465
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