Skip to content

Commit

Permalink
Fix commas
Browse files Browse the repository at this point in the history
  • Loading branch information
duckduckgrayduck committed Jun 27, 2024
1 parent d6bced4 commit 0e8d593
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ def main(self):
for word in page_info.words:
word_info = {
"text": word.text,
"x1": word.bbox.x
"x2": (word.bbox.x + word.bbox.width)
"y1": word.bbox.y
"y2": (word.bbox.y + word.bbox.height)
"x1": word.bbox.x,
"x2": (word.bbox.x + word.bbox.width),
"y1": word.bbox.y,
"y2": (word.bbox.y + word.bbox.height),
"confidence": word.confidence,
}
dc_page["positions"].append(word_info)
Expand Down

0 comments on commit 0e8d593

Please sign in to comment.