Skip to content

Adding functionality to read aruco dictionaries from files - #1561

Merged
shimat merged 4 commits into
shimat:masterfrom
MHerrmannSOLID:master
Apr 25, 2023
Merged

shimat merged 4 commits into
shimat:masterfrom
MHerrmannSOLID:master

Conversation

@MHerrmannSOLID

Copy link
Copy Markdown
Contributor

I figured that the functionality to read dictionaries from YAML-Files wasn't wrapped yet.
See here from OCV doc:
https://docs.opencv.org/4.x/d5/d0b/classcv_1_1aruco_1_1Dictionary.html#a69ec5ae547b01be07b7ce8c437ad1db4

So I added a wrapper with according tests for that. However, since FileStorage and FileNode were both also not available,
it works on a simple path string now:
var dictionary = CvAruco.ReadDictionary("someDictionaryFile.yaml");

Would be happy if these changes will find their way into your repository.
Thanks a lot for all your efforts

@shimat

shimat commented Apr 25, 2023

Copy link
Copy Markdown
Owner

Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to OpenCvSharp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants