-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
Description
System information (version)
- OpenCV => 4.2.0.34 (opencv-contrib-python)
- Operating System / Platform => Windows 10 64bit / Python 3.6.4
- Compiler => Package installed with pip
Detailed description
The last version of the Aruco detection algorithm ( see pull request #2236 ), which is included in OpenCV 4.1.2 and above, has worse performance than the previous one when the outer border of black markers is small.
The algorithm completely fails to find black markers whose outer white border is quite small (just few pixels) with both real and synthetic images. The old algorithm finds them.
I tried to change some DetectorParameters
(e.g. minMarkerPerimeterRate
, minCornerDistanceRate
and markerBorderBits
) without success.
Steps to reproduce
Please see the attached reference Python code and image.
Code is tested with OpenCV 4.1.1.26 (8/8 markers found) and 4.2.0.34 (2/8 markers found) with Python 3.6.4. Corresponding results are reported.
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues,
answers.opencv.org, Stack Overflow, etc and have not found solution - I updated to latest OpenCV version (available through PyPI) and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc
Chris-Bee, friederwC and AleksandrPanov