mirror of
https://github.com/opencv/opencv.git
synced 2025-07-25 22:57:53 +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"),
|
doc="Required length is 2"),
|
||||||
AliasTypeNode.sequence_("Size2f", PrimitiveTypeNode.float_(),
|
AliasTypeNode.sequence_("Size2f", PrimitiveTypeNode.float_(),
|
||||||
doc="Required length is 2"),
|
doc="Required length is 2"),
|
||||||
AliasTypeNode.sequence_("Scalar", PrimitiveTypeNode.float_(),
|
AliasTypeNode.union_(
|
||||||
doc="Required length is at most 4"),
|
"Scalar",
|
||||||
|
items=(SequenceTypeNode("Scalar", PrimitiveTypeNode.float_()),
|
||||||
|
PrimitiveTypeNode.float_()),
|
||||||
|
doc="Max sequence length is at most 4"
|
||||||
|
),
|
||||||
AliasTypeNode.sequence_("Point", PrimitiveTypeNode.int_(),
|
AliasTypeNode.sequence_("Point", PrimitiveTypeNode.int_(),
|
||||||
doc="Required length is 2"),
|
doc="Required length is 2"),
|
||||||
AliasTypeNode.ref_("Point2i", "Point"),
|
AliasTypeNode.ref_("Point2i", "Point"),
|
||||||
|
Loading…
Reference in New Issue
Block a user