mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
Update predefined_types.py
Updated predefined_types.py to keep changes only as suggested in https://github.com/opencv/opencv/pull/26826#pullrequestreview-2572608505 https://github.com/opencv/opencv/pull/26826#issuecomment-2613926475
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user