Esempio n. 1
0
 /// <summary>
 /// Reads algorithm parameters from a file storage.
 /// </summary>
 /// <param name="algorithm">The algorithm.</param>
 /// <param name="node">The node from file storage.</param>
 public static void Read(this IAlgorithm algorithm, FileNode node)
 {
    CvInvoke.cveAlgorithmRead(algorithm.AlgorithmPtr, node);
 }
Esempio n. 2
0
 /// <summary>
 /// Load the cascade classifier from a file node
 /// </summary>
 /// <param name="node">The file node, The file may contain a new cascade classifier only.</param>
 /// <returns>True if the classifier can be imported.</returns>
 public bool Read(FileNode node)
 {
    return CvInvoke.cveCascadeClassifierRead(_ptr, node);
 }
Esempio n. 3
0
 /// <summary>
 /// Reads algorithm parameters from a file storage.
 /// </summary>
 /// <param name="algorithm">The algorithm.</param>
 /// <param name="node">The node from file storage.</param>
 public static void Read(this IAlgorithm algorithm, FileNode node)
 {
     CvInvoke.cveAlgorithmRead(algorithm.AlgorithmPtr, node);
 }
Esempio n. 4
0
 /// <summary>
 /// Load the cascade classifier from a file node
 /// </summary>
 /// <param name="node">The file node, The file may contain a new cascade classifier only.</param>
 /// <returns>True if the classifier can be imported.</returns>
 public bool Read(FileNode node)
 {
     return(CvInvoke.cveCascadeClassifierRead(_ptr, node));
 }
Esempio n. 5
0
 /// <summary>
 /// Create a FileNodeIterator from a specific node.
 /// </summary>
 /// <param name="node">the collection to iterate over</param>
 /// <param name="seekEnd">True if iterator needs to be set after the last element of the node</param>
 public FileNodeIterator(FileNode node, bool seekEnd)
 {
     _ptr = CvInvoke.cveFileNodeIteratorCreateFromNode(node, seekEnd);
 }