commit | f3f6f03bb341b79288f2830a3fceec7c951ff1fe | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Fri Sep 27 16:26:28 2019 -0700 |
committer | Jonas Larsson <ljonas@google.com> | Tue Oct 01 13:06:56 2019 -0700 |
tree | cbd290c4fd00d310a10d4fd70d3b3a988e8949ba | |
parent | d409f82d2808f35d39aa0117211cfc9e785337da [diff] |
Fix PNG image inference PNG images don't get caps set by GstPbutils.Discoverer so they can't be used. Instead use the get_width() and get_height() APIs. Change-Id: I18948c2e1ed9eaf890939933dc90c97cd9eb87e1
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