Vadim Levin

Results 17 comments of Vadim Levin

Thanks for the PR, but it looks like the issue lies in a bit different plane. The following C++ code demonstrates what happens in Python: ```cpp cv::Mat empty_src cv::Vec4i dst_with_fixed_size;...

@ZhaoChuyang sorry for late reply. Can you add a simple test to `modules/python/test/test_misc.py` just to ensure that this case won't broke if `pyopencv_to` is changed?

``` OpenCV branch: 4.x macOS version: 11.6.1 (CPU: Intel) Tools: XCode Version 13.2.1 Python 3.9.12 ``` Build is passed without any errors.

@vpisarev please have a look at the generated stub file. There are still several things to do before merge e.g. introducing type aliases for `Mat, Size, Rect` and etc. and...

Open issues: - [ ] Do not convert `InputOutputArray` to `Optional[Mat]` if only 1 `InputOutputArray` argument is present. Example: ```python @overload def circle(img: Optional[Mat], center: Point, radius: int, color: Scalar,...

> mainlined There is 1 major open issue that is currently in a process of being resolved: generated stub don't respect submodules. That's why the resulting stub file contains functions,...

Good day, why do you try to import the internal implementation module instead of the using `cv2` module directly: `import cv2`? ```shell $ python3 --version Python 3.9.12 $ python3 -m...

Superseded with [PR 22594](https://github.com/opencv/opencv/pull/22594)

@asmorkalov we can close this issue since mentioned PR is merged

Thanks for valuable suggestion, can you provide at least 1 example of such library? What is a use case for Python bindings on iOS?