Reads a string of characters, using the following approach:
- To begin with, the first object in the startAOI will be searched.
- This result's advance vector will be added to this result's position; around the result position, the ocrAOI will be centered.
- The result area will be used as the AOI for a new FindFirst search operation.
Namespace: Stemmer.Cvb.Minos
Assembly: Stemmer.Cvb.Minos (in Stemmer.Cvb.Minos.dll) Version: 14.0.0.0
Syntax
public string Read( ImagePlane plane, ReadMode mode, Area2D startAOI, double density, Area2D ocrAOI, out SearchResult startOrStop )
Parameters
- plane
- Type: Stemmer.CvbImagePlane
image plane to read on - mode
- Type: Stemmer.Cvb.MinosReadMode
read mode - startAOI
- Type: Stemmer.CvbArea2D
area in which to start the read operation - density
- Type: SystemDouble
density to be used for the read operation - ocrAOI
- Type: Stemmer.CvbArea2D
area to be used for the intermediate read steps; this area will be applied relative to the expected position of the next character and is typically only a few pixels wide and high - startOrStop
- Type: Stemmer.Cvb.MinosSearchResult
first or last character that has been read (depending on the value of the mode parameter)
Return Value
Type: Stringthe string that has been read by this function
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the Parent of plane is null |
ArgumentOutOfRangeException | If if density is either less than 0 or greater than 1 |
ObjectDisposedException | If the classifier or the image it should work on has already been disposed |
See Also