You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #3220 from buq2:aruco-apriltag-infinite-loop-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]>
0 commit comments