From d3a63d21c82d44419dd0a9c84c1ec9952fa36983 Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 26 Feb 2020 17:05:46 +0000 Subject: Fix import lines to use new integralimg location --- cmd/preprocmulti/main.go | 2 +- cmd/splittable/main.go | 2 +- preprocmulti.go | 2 +- sauvola.go | 2 +- wipesides.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/preprocmulti/main.go b/cmd/preprocmulti/main.go index aeac767..ca7799f 100644 --- a/cmd/preprocmulti/main.go +++ b/cmd/preprocmulti/main.go @@ -17,7 +17,7 @@ import ( "os" "rescribe.xyz/preproc" - "rescribe.xyz/preproc/integralimg" + "rescribe.xyz/integralimg" ) // TODO: do more testing to see how good this assumption is diff --git a/cmd/splittable/main.go b/cmd/splittable/main.go index e6df94a..9055cf8 100644 --- a/cmd/splittable/main.go +++ b/cmd/splittable/main.go @@ -14,7 +14,7 @@ import ( "log" "os" - "rescribe.xyz/preproc/integralimg" + "rescribe.xyz/integralimg" ) const usage = `Usage: splittable [-t thresh] [-w winsize] inimg outbase diff --git a/preprocmulti.go b/preprocmulti.go index f4f7fbf..427ffe7 100644 --- a/preprocmulti.go +++ b/preprocmulti.go @@ -15,7 +15,7 @@ import ( "os" "strings" - "rescribe.xyz/preproc/integralimg" + "rescribe.xyz/integralimg" ) // TODO: do more testing to see how good this assumption is diff --git a/sauvola.go b/sauvola.go index 5a9be03..c512098 100644 --- a/sauvola.go +++ b/sauvola.go @@ -8,7 +8,7 @@ import ( "image" "image/color" - "rescribe.xyz/preproc/integralimg" + "rescribe.xyz/integralimg" ) // Implements Sauvola's algorithm for text binarization, see paper diff --git a/wipesides.go b/wipesides.go index 79a68b8..3bedf67 100644 --- a/wipesides.go +++ b/wipesides.go @@ -17,7 +17,7 @@ import ( "image/png" "os" - "rescribe.xyz/preproc/integralimg" + "rescribe.xyz/integralimg" ) // returns the proportion of the given window that is black pixels -- cgit v1.2.1-24-ge1ad