diff --git a/sbb_newspapers_org_image/eynollah.py b/sbb_newspapers_org_image/eynollah.py index 03cb699..5981aa4 100644 --- a/sbb_newspapers_org_image/eynollah.py +++ b/sbb_newspapers_org_image/eynollah.py @@ -31,7 +31,7 @@ warnings.filterwarnings("ignore") from scipy.signal import find_peaks from scipy.ndimage import gaussian_filter1d from shapely import geometry -import xml.etree.ElementTree as ET#from lxml import etree as ET +from lxml import etree as ET from matplotlib import pyplot, transforms import matplotlib.patches as mpatches import imutils diff --git a/sbb_newspapers_org_image/utils/separate_lines.py b/sbb_newspapers_org_image/utils/separate_lines.py index eb68bdf..7452c4e 100644 --- a/sbb_newspapers_org_image/utils/separate_lines.py +++ b/sbb_newspapers_org_image/utils/separate_lines.py @@ -13,7 +13,7 @@ from .contour import ( filter_contours_area_of_image ) from .is_nan import isNaN -from .utils import ( +from . import ( boosting_headers_by_longshot_region_segmentation, crop_image_inside_box, find_features_of_lines,