Fix broken Glyph.optical_distance().
This commit is contained in:
parent
8c7bf2c380
commit
85180a4ec1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue