Skip to content

Commit

Permalink
chore: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Wybxc committed Nov 23, 2024
1 parent 679a4b2 commit d5eed6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pdf2zh/doclayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ def scale_boxes(self, img1_shape, boxes, img0_shape):
specified in (img1_shape) to the shape of a different image (img0_shape).
Args:
img1_shape (tuple): The shape of the image that the bounding boxes are for, in the format of (height, width).
img1_shape (tuple): The shape of the image that the bounding boxes are for,
in the format of (height, width).
boxes (torch.Tensor): the bounding boxes of the objects in the image, in the format of (x1, y1, x2, y2)
img0_shape (tuple): the shape of the target image, in the format of (height, width).
Expand Down
1 change: 0 additions & 1 deletion pdf2zh/pdf2zh.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from typing import TYPE_CHECKING, Any, Container, Iterable, List, Optional

import pymupdf
from pathlib import Path

from pdf2zh import __version__
from pdf2zh.pdfexceptions import PDFValueError
Expand Down

0 comments on commit d5eed6c

Please sign in to comment.