Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdittrich92 committed Apr 18, 2024
1 parent 4873437 commit 8974219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doctr/utils/reconstitution.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def synthesize_page(
for block in page["blocks"]:
for line in block["lines"]:
for word in line["words"]:
# Get aboslute word geometry
# Get absolute word geometry
(xmin, ymin), (xmax, ymax) = word["geometry"]
xmin, xmax = int(round(w * xmin)), int(round(w * xmax))
ymin, ymax = int(round(h * ymin)), int(round(h * ymax))
Expand Down

0 comments on commit 8974219

Please sign in to comment.