-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PsychCV: Improve Apriltags support, based on practical use experience.
Allow to limit number of tags to use from a tag family via new optional 'maxNrTags' parameter in 'AprilInitialize'. It turned out that some tag families define very many tags - from 40000 up to 65535 individual tags. If one selects such a tag family with all tags, initialization of such a big family can take minutes and easily consume multiple GB of RAM, which can quickly end in a "out of memory" crash on machines with less than say 16 GB of RAM! Make sure that such huge tag families can be used by setting a reasonable number of tags to use, instead of the huge default maximum. 'AprilSettings' now allows to specify all other processing parameters for fine-grained control of the detection process. If tag pose is also requested in 'AprilDetectMarkers' make sure to disable stderr stream during pose estimate, to suppress spilling of some pointless but annoying debug messages to stderr during detection. At least for levels of verbosity <= 3, ie. the default.
- Loading branch information
Showing
2 changed files
with
69 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters