mirror of
https://github.com/opencv/opencv.git
synced 2024-12-11 14:39:11 +08:00
dad72fd47b
Manually add typing stubs for functions defined in `cv2_highgui.hpp`: - `createTrackbar` ```python def createTrackbar(trackbarName: str, windowName: str, value: int, count: int, onChange: Callable[[int], None]) -> None: ... ``` - `createButton` ```python def createButton(buttonName: str, onChange: Callable[[tuple[int] | tuple[int, Any]], None], userData: Any | None = ..., buttonType: int = ..., initialButtonState: int = ...) -> None: ... ``` - `setMouseCallback` ```python def setMouseCallback( windowName: str, onMouse: Callback[[int, int, int, int, Any | None], None], param: Any | None = ... ) -> None: ... ``` |
||
---|---|---|
.. | ||
nodes | ||
__init__.py | ||
api_refinement.py | ||
ast_utils.py | ||
generation.py | ||
predefined_types.py | ||
types_conversion.py |