Fix broken Glyph.optical_distance().

This commit is contained in:
Andrey Golovizin 2014-08-26 17:14:54 +02:00
parent 8c7bf2c380
commit 85180a4ec1

View file

@ -85,7 +85,7 @@ class PageObject(object):
return self.image.fits(left, top, right, bottom)
def _optical_correction(self, other, T=True):
def _optical_correction(self, other, T=False):
image1 = self.image.T if T else self.image
image2 = other.image.T if T else other.image
base = min(image1.top, image2.top)