summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-02-26 17:05:46 +0000
committerNick White <git@njw.name>2020-02-26 17:05:46 +0000
commitd3a63d21c82d44419dd0a9c84c1ec9952fa36983 (patch)
treec28c5dcea28b8f7d08cce001f682a01a9aa9cb87
parent99b14d8b0d048de9a7aff1d3836a2d4373fc7cac (diff)
Fix import lines to use new integralimg location
-rw-r--r--cmd/preprocmulti/main.go2
-rw-r--r--cmd/splittable/main.go2
-rw-r--r--preprocmulti.go2
-rw-r--r--sauvola.go2
-rw-r--r--wipesides.go2
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