mirror of
https://github.com/opencv/opencv.git
synced 2025-01-24 03:03:12 +08:00
Added some mssing type constants to python type stubs generator.
This commit is contained in:
parent
85a844e9c2
commit
d0ccd85a02
@ -55,8 +55,8 @@ def apply_manual_api_refinement(root: NamespaceNode) -> None:
|
||||
def export_matrix_type_constants(root: NamespaceNode) -> None:
|
||||
MAX_PREDEFINED_CHANNELS = 4
|
||||
|
||||
depth_names = ("CV_8U", "CV_8S", "CV_16U", "CV_16S", "CV_32S",
|
||||
"CV_32F", "CV_64F", "CV_16F", "CV_Bool")
|
||||
depth_names = ("CV_8U", "CV_8S", "CV_16U", "CV_16S", "CV_32U", "CV_32S",
|
||||
"CV_64U", "CV_64S", "CV_32F", "CV_64F", "CV_16F", "CV_16BF" "CV_Bool")
|
||||
for depth_value, depth_name in enumerate(depth_names):
|
||||
# Export depth constants
|
||||
root.add_constant(depth_name, str(depth_value))
|
||||
|
Loading…
Reference in New Issue
Block a user