diff --git a/modules/python/src2/typing_stubs_generation/api_refinement.py b/modules/python/src2/typing_stubs_generation/api_refinement.py index 20fa6dd73e..d3950e0686 100644 --- a/modules/python/src2/typing_stubs_generation/api_refinement.py +++ b/modules/python/src2/typing_stubs_generation/api_refinement.py @@ -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))