diff --git a/pixelocr/page.py b/pixelocr/page.py index 30059a1..5db0b72 100644 --- a/pixelocr/page.py +++ b/pixelocr/page.py @@ -174,7 +174,7 @@ class Line(PageObject): bottom = np.argmin(gradient) + skip return self.y + bottom - @property + @cached_property @collect_iterable def glyphs(self): labels, max_label = ndimage.label(self.image.bitmap, CONNECTIVITY8)