Skip to content

Commit

Permalink
Update ocr.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatOneGuyScripts authored Apr 27, 2023
1 parent 6750d14 commit 21c07ea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/utilities/ocr.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from utilities.geometry import Rectangle



def __load_font(font: str) -> Dict[str, cv2.Mat]:
"""
Loads a font's alphabet from the fonts directory into a dictionary.
Expand Down Expand Up @@ -124,6 +123,3 @@ def find_text(
words_found.append(Rectangle(left + rect.left, top + rect.top, width, h))
index += len(word)
return words_found



0 comments on commit 21c07ea

Please sign in to comment.