Skip to content

Feature/handle rotated text#82

Open
fallscameron01 wants to merge 13 commits into
developfrom
feature/handle_rotated_text
Open

Feature/handle rotated text#82
fallscameron01 wants to merge 13 commits into
developfrom
feature/handle_rotated_text

Conversation

@fallscameron01
Copy link
Copy Markdown
Member

closes #77

Handle Text Detection at Different Orientations

Note: The solution implemented is a brute force method and may be slow.

Changes

  • Added rotate_points() function to BoundingBox class to rotate the points of the box around a center point.
  • Added rotate_text_img() function to rotate image containg the text by a certain angle.
  • Fixed text detection at angles using brute force method of iteratively rotating the image and running text characteristics algorithms.
  • Added multi_rot_text_img() function to implement brute force solution. Image is rotated 10 degrees at each step by default and runs text characteristics algorithms. If text character, orientation, and color are found, return immediately. Stops after image is rotated 360 degrees without finding characteristics.

@fallscameron01 fallscameron01 added enhancement Advancement or augmentation of an already existing feature vision Pertaining to visual stream handling and data processing of the data from the drone sensors ODLC Task related to the detection, classification, or localization of SUAS standard or emergent objects text Tasks relating to any form of text detection or processing labels May 20, 2022
@fallscameron01 fallscameron01 requested a review from mrouie May 20, 2022 00:12
@fallscameron01 fallscameron01 self-assigned this May 20, 2022
@fallscameron01
Copy link
Copy Markdown
Member Author

closes #83

New Changes

  • Added filter_characters() function to remap uncommon characters
  • Added parameter to multi_rot_text_img() to toggle filtering of uncommon characters

@fallscameron01 fallscameron01 linked an issue May 20, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Advancement or augmentation of an already existing feature ODLC Task related to the detection, classification, or localization of SUAS standard or emergent objects text Tasks relating to any form of text detection or processing vision Pertaining to visual stream handling and data processing of the data from the drone sensors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exclude uncommon letters from text detection Handle text detection at different orientations

1 participant