Remove Lines Activity
The Remove Lines activity processes an input image to identify and eliminate intersecting lines. This activity is crucial for image cleanup, enhancing the clarity of underlying text or features by reducing visual clutter.
| Field | Description | Requirement |
|---|---|---|
| Input image | Specifies the full path, filename, and extension of the image to be processed. | Required |
| Output image | Defines the full path, filename, and extension where the processed image will be saved. | Required |
| Enhance Text? | When enabled, this option applies an algorithm to prevent deformations that might occur when removing intersecting lines, particularly beneficial for text-heavy images. | Optional |
Action Types & Examples
Input Image
- Format:
string(file path) - Example Result:
C:\Robusta\robusta.jpg
Output Image
- Format:
string(file path) - Example Result:
C:\Robusta\grayscale.jpg
Enhance Text?
- Format:
boolean - Example Result:
true
Implementation Examples
Field Setup - Input image: C:\Robusta\robusta.jpg - Output image: C:\Robusta\grayscale.jpg - Enhance Text?: true
Execution Parameters - Input image: C:\Projects\Images\document_scan.tiff - Output image: C:\Projects\Images\document_cleaned.tiff - Enhance Text?: false
Technical Notes
The Remove Lines activity is designed to improve image readability by eliminating intersecting lines. The "Enhance Text?" parameter is particularly useful for documents where line removal might otherwise degrade character integrity, ensuring that text remains clear and legible after processing.