opencv / opencv/opencv-python

Implement cv2.cuda.Filter type hints

Open
#1,145 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.4k
Forks
1k
Avg merge
22h 17m
Merged PRs (30d)
3

Description

It seems that cv2.cuda.Filter is missing as a type.

So are some cuda methods such as:

  • cv2.cuda.warpAffine
  • cv2.cuda.createMorphologyFilter

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the type-hint definitions for cv2.cuda.Filter and the CUDA methods cv2.cuda.warpAffine and cv2.cuda.createMorphologyFilter. Check how nearby CUDA types and methods are represented, then add the missing declarations and verify that these names are exposed in the generated or shipped type hints.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.