mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
![]() 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: ... ``` |
||
---|---|---|
.. | ||
bindings | ||
package | ||
python2 | ||
python3 | ||
src2 | ||
test | ||
CMakeLists.txt | ||
common.cmake | ||
python_loader.cmake | ||
standalone.cmake |