Add properties to GeometryList

pull/2/head
Vinayak Mehta 2018-09-05 19:00:30 +05:30
parent 73e52939f5
commit 08cbababca
2 changed files with 18 additions and 1 deletions

View File

@ -360,3 +360,19 @@ class GeometryList(object):
len(self._images),
len(self._segments),
len(self._tables))
@property
def text(self):
return self._text
@property
def images(self):
return self._images
@property
def segments(self):
return self._segments
@property
def tables(self):
return self._tables

View File

@ -1,3 +1,4 @@
import cv2
import matplotlib.pyplot as plt
import matplotlib.patches as patches