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

Feature/handle rotated text #82

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

fallscameron01
Copy link
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 self-assigned this May 20, 2022
@fallscameron01
Copy link
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