Update eynollah.py

This commit is contained in:
vahidrezanezhad 2020-12-09 17:11:05 +01:00 committed by GitHub
parent 38a7154130
commit 3aecf47f53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ warnings.filterwarnings("ignore")
from scipy.signal import find_peaks
from scipy.ndimage import gaussian_filter1d
from shapely import geometry
from lxml import etree as ET
import xml.etree.ElementTree as ET#from lxml import etree as ET
from matplotlib import pyplot, transforms
import matplotlib.patches as mpatches
import imutils
@ -1254,7 +1254,7 @@ class eynollah:
for mv in range(len(boxes_text)):
crop_img,crop_coor=self.crop_image_inside_box(boxes_text[mv],image_page_rotated)
crop_img,crop_coor=crop_image_inside_box(boxes_text[mv],image_page_rotated)
#all_box_coord.append(crop_coor)