Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pic2card]New approach for layout structuring #5059

Merged
merged 1 commit into from Nov 18, 2020
Merged

[Pic2card]New approach for layout structuring #5059

merged 1 commit into from Nov 18, 2020

Conversation

Keerthana786
Copy link
Contributor

@Keerthana786 Keerthana786 commented Nov 9, 2020

  1. New approach for layout structuring
  2. New data structure format to hold the layout hierarchy - [To hold the spatial details and properties even for containers]
  3. Parallelized Property Extraction and Layout Generation.
  4. Normalized the Container Grouping Thresholds.
  5. Added the new layout structuring as a switch option, having the old approach as the default option.
  6. Alignment property extraction for containers and update the property for the elements inside the containers with respect to its parent coordinates or with respect to the lines numbers from the tesseract output.
Microsoft Reviewers: Open in CodeFlow

@Keerthana786 Keerthana786 changed the title [Pic2card]Added a new approach for layout structuring [Pic2card]New approach for layout structuring Nov 9, 2020
@ghost ghost added the no-recent-activity label Nov 14, 2020
@ghost ghost assigned matthidinger Nov 14, 2020
@ghost
Copy link

ghost commented Nov 14, 2020

Hi @Keerthana786. This non-spec pull request has had no recent activity for the past 5 days . Please take the necessary actions (review, address feedback or commit if reviewed already) to move this along.

* new layout structuring changes

* code cleanup

* normalized the grouping thresholds

* folder re-strcuturing

* code clean-up

* Added unittests for layout and object grouping (#37)

* fixed pylint errors and code optimisation

* pylint fix

* removed data property from layout generation

* lint errors fixed

* code re-structuring

* lint fix

* added review changes

* lint fix

* removed duplicate coorinates from the layout-structure

* added review-changes

* removed unused import

* Added alignment property changes

* added merging properties and layout ds as a part of card layout generation

* get alignment based on number of text lines

Co-authored-by: amit <amit.ramachandran@imaginea.com>
@ghost ghost removed the no-recent-activity label Nov 18, 2020
@ghost
Copy link

ghost commented Nov 18, 2020

Hi @Keerthana786; Thanks for taking action on your previously stale pull request. Resetting staleness.

@Keerthana786 Keerthana786 merged commit 2350a5d into microsoft:main Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants