Skip to content

Commit

Permalink
Delete two duplicate import statements
Browse files Browse the repository at this point in the history
These two import statements were hidden
in the main content below, but already
present in the beginning, i.e. they were
duplicate.
  • Loading branch information
zuphilip committed Nov 5, 2016
1 parent 40273c2 commit 341af91
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions ocropus-linegen
Expand Up @@ -119,8 +119,6 @@ def rgeometry(image,eps=0.03,delta=0.3):
d = c-dot(m,c)+array([randn()*delta,randn()*delta])
return interpolation.affine_transform(image,m,offset=d,order=1,mode='constant',cval=image[0,0])

from scipy.ndimage import interpolation,filters

def rdistort(image,distort=3.0,dsigma=10.0,cval=0):
h,w = image.shape
hs = randn(h,w)
Expand Down
2 changes: 0 additions & 2 deletions ocropus-nlbin
Expand Up @@ -199,8 +199,6 @@ def process1(job):
ocrolib.write_image_binary(base+".bin.png",bin)
ocrolib.write_image_gray(base+".nrm.png",flat)

import ocrolib

if args.debug>0 or args.show>0: args.parallel = 0

if args.output:
Expand Down

0 comments on commit 341af91

Please sign in to comment.