Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python typing stub missing matrix type constants like CV_32F #23910

Closed
Assignees
VadimLevin
Milestone
@TheSingular

Description

@TheSingular

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_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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp