
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Package for building OpenCV 4.5.4 including Python 3 bindings from the official sources.
Unofficial OpenCV builder for Python.
This package aims at building OpenCV 4.5.4 with Python bindings from the official sources. It provides a simple command line interface for starting the process of downloading the official sources, configuring the build dependencies, compiling and installing the resulting CV2 shared object within a virtual environment.
In contrast to opencv-python it will not provide any wheels and therefore the installation / build process will be by far slower (depending on the actual system performance).
IMPORTANT NOTE
Depending on the usage and system dependencies, the on-the-fly build output can contain video and GUI functionality and the contrib package.
Note: PyPy (7.3.0) is not supported yet due to missing path variables in module sysconfig
.
poetry add cvbuilder
After installing the package via pip
/ pipenv
/ poetry
, you can manually invoke cvbuilder
commands.
cvbuilder system --enable-gui --enable-video
The do-it-all
command is:
cvbuilder build
or if you already downloaded the source zip files in the default temporary directory or need to rerun the process in a clean way:
cvbuilder build --clean
If you need to run the individual steps (i.e. for debugging) the following commands are provided.
cvbuilder download
cvbuilder configure [--tmpdir XYZ]
cvbuilder make
cvbuilder install
cvbuilder dump
You can run the check command:
cvbuilder check
in order to check whether the build process and installation worked.
Now everything should be up and running and you should be able to work with OpenCV:
poetry run python
import cv2
FAQs
Package for building OpenCV 4.5.4 including Python 3 bindings from the official sources.
We found that cvbuilder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.