Unofficial stubs for the opencv-python package.
Project description
OpenCV stubs
Unofficial python stubs for the opencv-python package.
A stub file with all the cv2 function can be found on the Microsoft stubs repo.
The stubs from this package are different in the sense that they include better (although wrong) typing. OpenCV handles more types than defined in this package (and has much more functions than defined in this package). If you would like a function / type to be added, feel free to open a PR.
The stubs include the docstrings as they are otherwise not available in the IDE (as far as I know).
These stubs are a temporary help until official ones are made (see this issue).
Installation
The package is available on pypi here, you can install it with:
pip install opencv-stubs
The dependency on opencv is optional, and be accessed with pip install opencv-stubs[opencv]
or pip install opencv-stubs[opencv-headless]
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for opencv_stubs-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a9b2bd3b631b33f1bb665500c716f51caaeb909a36dd2dc95909a77a83b0c99 |
|
MD5 | ade15f928c15ae89c63d6e8f4bc73d33 |
|
BLAKE2b-256 | 0f04169bc9b840f9f207b96833fb768a881ed663f6cce648ab4102852454fcad |