opencv/modules/python
Vadim Levin dad72fd47b feat: add highgui functions to typing stubs
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: ...
    ```
2023-07-26 16:34:43 +03:00
..
bindings Merge pull request #20370 from ddacw:stub-gen-next 2023-05-26 18:25:46 +03:00
package pre: OpenCV 4.8.0 (version++) 2023-06-20 15:52:57 +03:00
python2 python: support standalone Python bindings build 2018-06-07 15:16:39 +03:00
python3 cmake: update installation of python extra submodules 2021-10-15 14:21:31 +00:00
src2 feat: add highgui functions to typing stubs 2023-07-26 16:34:43 +03:00
test fix: preserve NumPY writeable flag in output arguments 2023-07-19 17:22:10 +03:00
CMakeLists.txt Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-08-14 15:50:42 +00:00
common.cmake Merge pull request #20370 from ddacw:stub-gen-next 2023-05-26 18:25:46 +03:00
python_loader.cmake Merge pull request #20370 from ddacw:stub-gen-next 2023-05-26 18:25:46 +03:00
standalone.cmake python: update CMake install rules 2019-03-15 13:11:00 +03:00