commit | 046890c7b471d3f9e16a42e41837c04b24d9e9b7 | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Thu Aug 15 11:08:09 2019 -0700 |
committer | Jonas Larsson <ljonas@google.com> | Wed Sep 25 13:06:47 2019 -0700 |
tree | b5fef59f0c543b8ef420f13156f1e3dfa17a39a2 | |
parent | dc681f2291692208a977d83e79f42c37b9554320 [diff] |
Drop RECONFIGURE events from glimagesink These are sent every time our GTK window is resized. The window is always 1024x768 on creation (hard coded in GStreamer). In windowed mode we then resize it to match the input. In full screen mode further intermediate sizes are set by the window manager until it's actually full screen. Each resize sends a RECONFIGURE which forces reallocation of most ION backed buffers. Since some are in flight we can run out of CMA memory during the process for higher resolution frames. This wasn't an issue in older GStreamer because the glmixer in plugins-bad ate the events. glmixer in plugins-base is more clever and can forward the events properly but this isn't needed in our use case. We always use the same source resolution in the pipeline regardless of sink size, and rely on the sink for scaling. The RECONFIGURE can thus safely be dropped to avoid OOM. Change-Id: I5dd8f8849d27e085e338e7219fc51963095e82f7
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