Merge pull request #12 from qurator-spk/import-typo

fix import {,.}utils.xml, ht @bertsky
pull/18/head
Konstantin Baierer 4 years ago committed by GitHub
commit c7d509bb2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,7 +29,7 @@ warnings.filterwarnings("ignore")
from scipy.signal import find_peaks from scipy.signal import find_peaks
from scipy.ndimage import gaussian_filter1d from scipy.ndimage import gaussian_filter1d
from shapely import geometry 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 from matplotlib import pyplot, transforms
import matplotlib.patches as mpatches import matplotlib.patches as mpatches
import imutils import imutils
@ -113,7 +113,7 @@ from .utils import (
return_boxes_of_images_by_order_of_reading_new, return_boxes_of_images_by_order_of_reading_new,
) )
from utils.xml import create_page_xml from .utils.xml import create_page_xml
SLOPE_THRESHOLD = 0.13 SLOPE_THRESHOLD = 0.13

@ -13,7 +13,7 @@ from .contour import (
filter_contours_area_of_image filter_contours_area_of_image
) )
from .is_nan import isNaN from .is_nan import isNaN
from .utils import ( from . import (
boosting_headers_by_longshot_region_segmentation, boosting_headers_by_longshot_region_segmentation,
crop_image_inside_box, crop_image_inside_box,
find_features_of_lines, find_features_of_lines,

Loading…
Cancel
Save