piwheels blog

28 September 2020

New opencv builds (including opencv 4.4.x)

The maintainer of the opencv packages on PyPI recently started uploading source distributions, so we can now build them automatically the way we build everything else, instead of manually, offline, and importing the files (which takes ages and can be prone to issues). So now we have armv6 and armv7 wheels up to version 4.4.0.44 […]

Tags: opencv
7 November 2019

New opencv builds (including opencv 4.x)

I think this post will please a lot of people. We’ve just imported all the missing opencv files, including the latest 4.x releases up to v4.1.1.26 for all opencv/contrib/headless variations: opencv-python opencv-python-headless opencv-contrib-python opencv-contrib-python-headless When you pip install an opencv package, you’ll need various apt packages installed to provide make it work. These are now […]

Tags: opencv
27 September 2018

How to work out the missing dependencies for a Python package

When you install a compiled Python wheel, whether it’s from PyPI or piwheels, it will likely depend on some shared libraries, specifically certain .so files (shared object files) in order to be used. If you’ve ever been in the situation where you’ve installed a library but importing it fails, it’s a pretty unpleasant experience: The […]

Tags: opencv
27 September 2018

New opencv builds

The opencv maintainers don’t release source distribution for the packages, so Dave has been building Raspberry Pi wheels manually from source on GitHub. They have also chosen to split releases into four separate pacakges: opencv-python opencv-python-headless opencv-contrib-python opencv-contrib-python-headless opencv-contrib includes all of opencv, plus additional modules (listed in the opencv docs). The -headless releases exclude […]

Tags: opencv