Skip to content

Commit

Permalink
Fixup pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bosd committed Feb 7, 2025
1 parent f24d247 commit 8d727a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/invoice2data/input/pdftotext.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ def to_text(path: str, area_details: Optional[Dict[str, Any]] = None) -> str:
Args:
path (str): Path to the PDF file.
area_details (Optional[Dict[str, Any]], optional):
area_details (Optional[Dict[str, Any]], optional):
Specific area in the PDF to extract text from.
Defaults to None (extract from the entire page).
If provided, should be a dictionary with the following keys:
- "f": First page to extract from
- "l": Last page to extract from
- "l": Last page to extract from
- "x": x-coordinate of the top-left corner of the area to extract (in pixels)
- "y": y-coordinate of the top-left corner of the area to extract (in pixels)
- "W": Width of the area to extract (in pixels)
Expand Down

0 comments on commit 8d727a0

Please sign in to comment.