cv2.typing
module is missing from generated wheels #869
Closed
Description
Expected behaviour
Since opencv/opencv#23798 , OpenCV should have a typing module available at runtime. It used to be a type-stub-only and was included as part of dev wheels I downloaded last month from GitHub Actions.
Actual behaviour
cv2/typing/__init__.py
is missing.
Steps to reproduce
pip install opencv-python-headless==4.8.0.74
- Notice the lack of
cv2.typing
>>> import cv2.typing
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'cv2.typing'
Issue submission checklist
- This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
- I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)
- The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency") I think so, assuming it isn't an issue with how OpenCV generates the module.
- I'm using the latest version of
opencv-python
Metadata
Assignees
Labels
No labels