Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(5.x) Merge 4.x #3237

Merged
merged 33 commits into from
Apr 24, 2022
Merged

(5.x) Merge 4.x #3237

merged 33 commits into from
Apr 24, 2022

Conversation

opencv-pushbot
Copy link
Contributor

#3174 from AleksandrPanov:fix_gridboard_objPoints
#3181 from sturkmen72:bug-fix-edge_drawing
#3185 from northvolt:hough_cuda_texture_obj
#3186 from AleksandrPanov:fix_CORNER_REFINE_CONTOUR
#3191 from asmorkalov:as/cuda_meanstddev
#3196 from cudawarped:expose_cudacodec_format_to_python
#3198 from cudawarped:cudacodec_add_frame_colour_format_request
#3199 from kim-ninh:wechatqr/hybrid_binarizer
#3200 from AleksandrPanov:aruco_improvements
#3201 from AleksandrPanov:fix_filterTooCloseCandidates
#3207 from aimbot6120:swtfix
#3209 from cudawarped:cudacodec_change_n_decode_surfaces
#3211 from cudawarped:fix_cuda_minmax_python_bindings
#3217 from MehdiChinoune:patch-1
#3219 from vrabaud:34_remove_unused
#3220 from buq2:aruco-apriltag-infinite-loop-fix
#3224 from AleksandrPanov:fix_testBoardSubpixelCoords
#3230 from AleksandrPanov:fix_ArucoThreading_test

Main PR: opencv/opencv#21903
Previous "Merge 4.x": #3179

sturkmen72 and others added 30 commits February 26, 2022 03:47
Use texture Object to make cv::cuda::HoughSegmentDetectorImpl::detect() thread-safe

* Use texture Object to make HoughSegmentDetectorImpl::detect() thread-safe

* Use parameter useRoi correctly in HoughLinesProbabilistic cuda test

Signed-off-by: Ron Evans <[email protected]>

Co-authored-by: airtop-bast <[email protected]>
Co-authored-by: Ron Evans <[email protected]>
…oints

Fix objPoints order in GridBoard and CharucoBoard

* fix gridBoard

* fix charucoBoard

* add rightBottomBorder

* add test_aruco_utils and code refactoring/fix tests

* fix axes and add charuco dict

* add axes test, remove drawAxis(), update tutorial
…Candidates

* fix search for one contour in _filterTooCloseCandidates()

* add regression_3192 test

* add regression_2492 test
…lour_format_request

cudacodec::VideoReader add colour format selection functionality

* Add capacity to select different colour formats for each decoded frame produced by cudacodec::VideoReader.
Updated accompanying test.

* Address warning
This is to quiet the -Wunused-but-set-parameter clang diagnostic warning.
replaced recursion DFS to stack DFS
…-fix

Fix infinite loop on ArUco apriltag refinement

* Fix infinite loop on ArUco apriltag refinement

Software entered infinite loop when image height
was smaller than 10*cv::getNumThreads(). With high
core count machines this could happen with very
reasonable image sizes.

Fix is to ensure that chunksize is at least 1.

* Test aruco detection with different number of threads

Test ensures that different aruco detection methods do not
produce different results based on number of threads.

Test was created after observing infinite loop caused
by small image and large number of threads when using
apriltag corner refinement.

* Test refactoring.

* Syntax fix for pre-C++11 compilers.

Co-authored-by: Alexander Smorkalov <[email protected]>
Aruco improvements

* add writeDictionary(), dict distance, fix readDictionary(), readDetectorParameters()

* add aruco_dict_utils.cpp

* add py test_write_read_dict

* update tutorial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.