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: ... ``` |
||
---|---|---|
.. | ||
typing_stubs_generation | ||
copy_typings_stubs_on_success.py | ||
cv2_convert.cpp | ||
cv2_convert.hpp | ||
cv2_highgui.cpp | ||
cv2_highgui.hpp | ||
cv2_numpy.cpp | ||
cv2_numpy.hpp | ||
cv2_util.cpp | ||
cv2_util.hpp | ||
cv2.cpp | ||
cv2.hpp | ||
gen2.py | ||
hdr_parser.py | ||
pycompat.hpp | ||
typing_stubs_generator.py |