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
1 file changed
tree: cbd290c4fd00d310a10d4fd70d3b3a988e8949ba
  1. debian/
  2. edgetpuvision/
  3. .gitignore
  4. MANIFEST.in
  5. README.md
  6. setup.py
  7. 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