Table of Contents

Method ReadDictionary

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

ReadDictionary(string)

Reads a new dictionary from FileNode.

public static Dictionary ReadDictionary(string dictionaryFile)

Parameters

dictionaryFile string

The path of the dictionary file

Returns

Dictionary

Instance of a Dictionary

Remarks

Dictionary format is YAML see sample below

nmarkers: 35
markersize: 6
maxCorrectionBits: 5
marker_0: "101011111011111001001001101100000000"
...
marker_34: "011111010000111011111110110101100101"