C# Class Franken_.PageXml

Class for handling page xml file specific behavior.
Show file Open project: Early-Modern-OCR/FrankenPlus Class Usage Examples

Public Methods

Method Description
CreateImageExtractorCommandLine ( string inputImagePath, string xmlInputPath, string outputFolderPath ) : string

Creates the commandline parameter string for the image extractor.

GetGlyphs ( ) : List

Parses all glyphs from the page xml file.

PageXml ( string xmlFile ) : System

Creates a new page xml file object for the specified page xml file in xmlFile

Private Methods

Method Description
GetNamespace ( string path ) : string

Returns the URI of the xmlns Namespace from the xml file in path

Method Details

CreateImageExtractorCommandLine() public abstract method

Creates the commandline parameter string for the image extractor.
public abstract CreateImageExtractorCommandLine ( string inputImagePath, string xmlInputPath, string outputFolderPath ) : string
inputImagePath string The path to the image which is described by the page xml file specified in
xmlInputPath string The page xml files, which describes the image specified in
outputFolderPath string The folder which should contain the glyph images
return string

GetGlyphs() public method

Parses all glyphs from the page xml file.
public GetGlyphs ( ) : List
return List

PageXml() public method

Creates a new page xml file object for the specified page xml file in xmlFile
public PageXml ( string xmlFile ) : System
xmlFile string the location of the page xml file
return System