diff --git a/pixelocr/image.py b/pixelocr/image.py index ebb1177..3cac64c 100644 --- a/pixelocr/image.py +++ b/pixelocr/image.py @@ -130,7 +130,7 @@ class Image(object): raise NotImplementedError def unframe(self, width=2): - return self[width:-width,width:-width] + return Image(self.data[width:-width,width:-width]) def strip(self): """Strip top and bottom blank space.