You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The commit in question is missing the CV_... 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 cv2
test = cv2.CV_32F
Observe 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)
The text was updated successfully, but these errors were encountered:
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 all
CV_...
constants are missing.Originally posted by @damonmaria in #20370 (comment)
The commit in question is missing the
CV_...
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:
Observe 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
The text was updated successfully, but these errors were encountered: