Detect Frames

Detects frame locations in a fiche card strip.

Remarks

This activity generates a low-resolution preview of the strip, performs frame detection, and flags strips having frame detection issues. The preview image is saved on the strip folder, and serves as the display image during frame review.

Inherits from: Unattended Activity

Properties

The following 15 properties are defined.

Property Name Description
General
Card Layout Type: Fiche Card Layout, Default: 13 rows x 28 columns

Specifies the layout for the fiche cards to be processed.

Processing Resolution Type: Int32, Default: 75

The resolution at which frame detection will be performed, in dots per inch (DPI). This value also controls the resolution of the strip preview image.

Tile Rotation Type: Double, Default:

The amount of rotation to apply to each tile. Can be one of the following values:

  • 90°
  • 180°
  • 270°

Binarization Type: Binarize

Controls the binarization method used during frame detection.

Gutter Detection
Minimum Vertical Length Type: String, Default: 16in

Specifies the minimum length of a vertical gutter.

Minimum Horizontal Length Type: String, Default: 64in

Specifies the minimum length of a horizontal gutter.

Maximum Gap Type: String, Default: 2in

The maximum gap allowed during gutter detection.

Minimum Thickness Type: String, Default: 0.25in

Specifies the minimum thickness of gutters between rows and columns.

Page Detection
Minimum Intensity Type: Double, Default: 90%

The minimimum intensity for a page. Any detected page with an average intensity below this value will be flagged for human review. A page which is pure white will have an intensity of 100%, while a page which is pure black will have an intensity of 0%. As pages are expected to contain mostly white space, any page containing a significant amount of black could indicate a frame detection problem, or a page which has genuine quality issues.

Please not that intensity measurements are performed on the Binarized version of the image.

Page Size Range Type: Unit Range, Default: 4in - 18in

Specifies the minimum and maximum dimensions of a page object. This value is used when determining whether a cell on the fiche card contains a page object.

Maximum Empty Cells Type: Int32, Default: 0

The maximum number of empty cells allowed at the end of a fiche card..

Infer Missing Frames Type: Boolean, Default: False

If enabled, the position of missing frames will be inferred from the set of detected frames

Processing Options
Error Disposition Type: IssueDisposition, Default: Flag, Log

Determines what happens when an error occurs processing an activity.

Maximum Consecutive Errors Type: Int32, Default: 0

The maximum number of consecutive errors, after which a critical stop will be raised. A critical stop will cause services to stop running.

Concurrency Mode Type: ConcurrencyMode, Default: Multiple

Specifies the parallel processing mode for this activity. Can be one of the following values:

  • Multiple - Multiple instances can run concurrently.
  • PerMachine - Only a single instance can run per machine.
  • Single - Only a single instance can run per Grooper repository.
This value determines the type of Thread Pool on which the activity can be executed.

See Also

Binarize, Fiche Card Layout, Unit Range

Used By

Batch Folder - Apply Activity, Batch Process Step