mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 12:19:50 +01:00
Merge pull request #27544 from inventshah:fix-detect-and-compute-py-type
fix: mark Feature2D.detectAndCompute mask as optional in Python type stubs
This commit is contained in:
commit
f734de08ca
|
|
@ -340,6 +340,7 @@ NODES_TO_REFINE = {
|
|||
SymbolName(("cv", ), (), "resize"): make_optional_arg("dsize"),
|
||||
SymbolName(("cv", ), (), "calcHist"): make_optional_arg("mask"),
|
||||
SymbolName(("cv", ), (), "floodFill"): make_optional_arg("mask"),
|
||||
SymbolName(("cv", ), ("Feature2D", ), "detectAndCompute"): make_optional_arg("mask"),
|
||||
SymbolName(("cv", ), (), "imread"): make_optional_none_return,
|
||||
SymbolName(("cv", ), (), "imdecode"): make_optional_none_return,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user