Skip to content

Commit

Permalink
fix: update coordinate range value
Browse files Browse the repository at this point in the history
  • Loading branch information
shinsj4653 committed Feb 21, 2024
1 parent 7577270 commit 755c0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OCR/googleOCR.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def text_pointer(uri, x, y):
min_y = min(y_set)
max_y = max(y_set)

if min_x <= x <= max_x and max_y <= y :
if min_x <= x <= max_x and min_y <= y <= max_y :
words.append(word)

print(words)
Expand Down

0 comments on commit 755c0f4

Please sign in to comment.