Add properties to GeometryList
parent
73e52939f5
commit
08cbababca
|
|
@ -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
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
import cv2
|
||||
import matplotlib.pyplot as plt
|
||||
import matplotlib.patches as patches
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue