Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
Closed
Description
System Information
OpenCV python version:4.8.0.74
OS: Windows 11 22H2
Python version: 3.11.4
Detailed description
Where and how should we report issues with the typing? It seems allCV_... constants are missing.
Originally posted by@damonmaria in#20370 (comment)
The commit in question is missing theCV_... constants as stated by the comment I quoted, causing cannot find reference errors in PyCharm and failing to autocorrect.
Steps to reproduce
Open any python file in PyCharm or create a new one.
Type the following to the top of the file:
import cv2test = cv2.CV_32FObserve the yellow squiggly line below the CV_32F part. Hover the mouse cursor over that part to observe the warning:Cannot find reference 'CV_32F' in '__init__.pyi'
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)