From 6b2e8d6a5899b450641a667e57dd762f8641704f Mon Sep 17 00:00:00 2001 From: kairi003 Date: Fri, 17 Mar 2023 11:54:03 +0900 Subject: [PATCH] Fix: add one import for type hints --- src/layoutparser/io/pdf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layoutparser/io/pdf.py b/src/layoutparser/io/pdf.py index ad35cf4..957bcb1 100644 --- a/src/layoutparser/io/pdf.py +++ b/src/layoutparser/io/pdf.py @@ -16,6 +16,7 @@ import pdfplumber import pandas as pd +from PIL import Image from ..elements import Layout from .basic import load_dataframe