Summary
The settings for the image clean-up options used when OCRing are stored in the sfcleanup.ini file. Additional settings can be set using this ini file that are not available through the Laserfiche Client. This article documents the possible settings for sfcleanup.ini.
More Information
The sfcleanup.ini file is located in the Client installation folder. By default, this is C:\Program Files\LaserFiche\LFW.
Setting | Description | Possible Values |
DespeckleChecked | Determines whether undesired noise will be removed from an image. | 0 or 1 to toggle the option off or on. |
SpeckleSize | Determines the criteria for removing speckles. Speckles whose width and height are less than or equal to the specified value in pixels will be removed from the image. | Any integer between 1 and 10. |
DeskewChecked | Determines whether crooked images will be straightened. | 0 or 1 to toggle the option off or on. |
RotateChecked | Determines whether an image will be rotated. | 0 or 1 to toggle the option off or on. |
RotateType | Specify the type of rotation to perform on an image. | Possible values are in degrees and are multiples of 90 (i.e. 90, 180, or 270). Specify a value of 0 for Laserfiche to automatically determine whether an image should be rotated. |
HorizLineRemoval | Determines whether horizontal lines will be removed from an image. | 0 or 1 to toggle the option off or on. |
VertLineRemoval | Determines whether vertical lines will be removed from an image. | 0 or 1 to toggle the option off or on. |
LineRemovalCharProtection | Determines whether characters that have been affected by the line removal process will be reconstructed. | 0 or 1 to toggle the option off or on. |
ReconstructFactor | Removing a line that intersects characters on the page may damage the affected characters. This option determines the maximum width of an area to reconstruct. | The default value is 15. |
LineLength | Determines the minimum required length for a group of pixels before they are considered a line. Lines that are equal or larger than the specified size will be eligible for removal from an image. | The default value is set to 75. |
LineWidth | Determines the maximum thickness (in pixels) a line can reach and still be considered a line. Lines that are thicker than the specified amount will not be removed from the image. | The default value is set to 15. |
LineGap | Determines the maximum amount of space (in pixels) that can exist between two line segments and still be considered a single line. | The default value is set to 1. |
LineCleanWidth | Noise (stray pixels) surrounding a poor quality line can be removed. Determines how far from the removed line (in pixels) will noise be removed form an image. | The default value is 3. |