opencv/modules/objdetect/src
Alexander Panov affc69bf1f
Merge pull request #23848 from AleksandrPanov:fix_detectDiamonds_api
Fix detect diamonds api #23848

`detectDiamonds` cannot be called from python, reproducer:

```
import numpy as np
import cv2 as cv

detector = cv.aruco.CharucoDetector(
    cv.aruco.CharucoBoard(
        (3, 3), 200.0, 100.0,
        cv.aruco.getPredefinedDictionary(cv.aruco.DICT_4X4_250)
    )
)
image = np.zeros((640, 480, 1), dtype=np.uint8)
res = detector.detectDiamonds(image)
print(res)
```

The error in `detectDiamonds` API fixed by replacing `InputOutputArrayOfArrays markerIds` with `InputOutputArray markerIds`.


### 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.
- [ ] The feature is well documented and sample code can be built with the project CMake
2023-06-22 17:30:44 +03:00
..
aruco Merge pull request #23848 from AleksandrPanov:fix_detectDiamonds_api 2023-06-22 17:30:44 +03:00
barcode_decoder Fixed barcode to be built without DNN 2023-06-16 15:12:49 +03:00
barcode_detector Merge pull request #23666 from mshabunin:barcode-move 2023-06-14 22:21:38 +03:00
opencl fix test failure on ODROID-N2 2020-04-28 21:46:31 +09:00
barcode.cpp Merge pull request #23666 from mshabunin:barcode-move 2023-06-14 22:21:38 +03:00
cascadedetect_convert.cpp backport: checks and fixes from static code analyzers results 2020-09-02 19:05:47 +00:00
cascadedetect.cpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-12-03 12:32:49 +00:00
cascadedetect.hpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2019-07-25 19:21:47 +00:00
detection_based_tracker.cpp Merge pull request #21107 from take1014:remove_assert_21038 2021-11-27 18:34:52 +00:00
face_detect.cpp upgrade FaceDetectorYN to v2 2023-03-21 12:41:02 +08:00
face_recognize.cpp Merge pull request #21369 from UnaNancyOwen:fix_uwp 2022-01-18 18:47:36 +03:00
graphical_code_detector_impl.hpp added graphicalCodeDetector, remove QRCodeDetectorBase 2023-06-08 14:50:58 +03:00
graphical_code_detector.cpp added graphicalCodeDetector, remove QRCodeDetectorBase 2023-06-08 14:50:58 +03:00
hog.cpp Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-02-19 21:04:35 +00:00
main.cpp IPPInitSingelton was added to contain IPP related global variables; 2015-10-01 09:58:48 +03:00
precomp.hpp Merge pull request #23666 from mshabunin:barcode-move 2023-06-14 22:21:38 +03:00
qrcode_encoder_table.inl.hpp Merge pull request #17889 from ZhengQiushi:my_3.4 2021-11-15 17:15:39 +00:00
qrcode_encoder.cpp generateQR() method data loss fix 2023-01-26 23:30:14 +01:00
qrcode.cpp added graphicalCodeDetector, remove QRCodeDetectorBase 2023-06-08 14:50:58 +03:00