Skip to content

add parameter to "union" all boxes at each timepoint #7

@keighrim

Description

@keighrim

New Feature Summary

Instead of having all the individual localization boxes, we'd like to have a option to "union" of all boxes into a one big box.

implementation plan

  • add a parameter mergeBoxes or unionBoxes.
  • after EAST localization is run and all boxes are added to a new view, if parameter is true, create a new view and add "union" boxes with boxType=text
  • for creating union boxes, a simple implementation will be using top-most, bottom-most, left-most, right-most coordinates of all boxes to create one big box.

Related

This implementation will be used for "reading-order" selection in downstream OCR apps, such as clamsproject/app-tesseractocr-wrapper#18 .

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

✨NNew feature or request

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions