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
/// <summary> | |
/// Read text from image. | |
/// </summary> | |
/// <see cref="https://github.com/opencv/opencv/blob/master/samples/dnn/text_detection.cpp"/> | |
/// <param name="fileName">Name of the image file.</param> | |
/// <param name="loaderFactory">The loader factory.</param> | |
/// <returns>Scanned text.</returns> | |
public string ReadAllText(string fileName, ITextDocumentLoaderFactory loaderFactory) | |
{ | |
// Load network. |