mirror of
https://github.com/opencv/opencv.git
synced 2025-07-24 05:39:22 +08:00
Merge pull request #26826 from devatbosch:4.x
Workaround solution for isuue #26818
This commit is contained in:
commit
0049cde1f7
@ -54,8 +54,12 @@ _PREDEFINED_TYPES = (
|
||||
doc="Required length is 2"),
|
||||
AliasTypeNode.sequence_("Size2f", PrimitiveTypeNode.float_(),
|
||||
doc="Required length is 2"),
|
||||
AliasTypeNode.sequence_("Scalar", PrimitiveTypeNode.float_(),
|
||||
doc="Required length is at most 4"),
|
||||
AliasTypeNode.union_(
|
||||
"Scalar",
|
||||
items=(SequenceTypeNode("Scalar", PrimitiveTypeNode.float_()),
|
||||
PrimitiveTypeNode.float_()),
|
||||
doc="Max sequence length is at most 4"
|
||||
),
|
||||
AliasTypeNode.sequence_("Point", PrimitiveTypeNode.int_(),
|
||||
doc="Required length is 2"),
|
||||
AliasTypeNode.ref_("Point2i", "Point"),
|
||||
|
Loading…
Reference in New Issue
Block a user