Commit Graph

10 Commits

Author SHA1 Message Date
Abhishek Gola
26bd26e400 python: rename setAllowNonConventionalDataTypes() / getAllowNonConventionalDataTypes() to setUseExactNumpyDtypes() / useExactNumpyDtypes()
Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>
2026-10-30 16:00:13 +05:30
Abhishek Gola
3f7c2f7077 python: limit setAllowNonConventionalDataTypes() to outputs, fix short ml_dtypes operands, document it
Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>
2026-10-28 18:19:43 +05:30
Abhishek Gola
f527a649bf refactoring 2026-10-14 17:40:19 +05:30
Abhishek Gola
7feb8acd5e python: gate bfloat16 / float8 dtypes behind setAllowNonConventionalDataTypes() and drop the ml_dtypes import
Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>
2026-10-14 17:36:26 +05:30
Abhishek Gola
252b03de39 python: cross the binding with exact bfloat16 / float8 dtypes
Signed-off-by: Abhishek Gola <abhishek.gola@bigvisionllc.com>
2026-10-08 14:29:16 +05:30
Prasad Ayush Kumar
223b110c30 Merge pull request #28968 from Prasadayus:Identity_function_fix_for_0D
Fixes the issue for Identity functions for 0D #28968

Closes https://github.com/opencv/opencv/issues/25763

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2026-05-12 14:43:46 +03:00
Alexander Smorkalov
48c52c8bbb Fixed tests execution with Python 2.7 2023-07-11 18:24:08 +03:00
Vadim Levin
953de60ff0 feat: update NumPy type to Mat type fail message
Output string representation of NumPy array type if it is not
convertible to OpenCV Mat type
2023-07-10 18:09:15 +03:00
Sean McBride
1829eba584 Fixed most clang -Wextra-semi warnings 2022-09-27 18:06:46 -04:00
Maksim Shabunin
973e1acb67 Merge pull request #21182 from mshabunin:split-cv2cpp
Split cv2.cpp

* split cv2.cpp: util, numpy

* split cv2.cpp: convert

* split cv2.cpp: highgui, more utils

* split cv2.cpp: fix numpy import
2021-12-05 12:49:36 +00:00