summaryrefslogtreecommitdiff
path: root/cmd/extracthocrlines
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-03-25 13:06:13 +0000
committerNick White <git@njw.name>2021-03-25 13:06:27 +0000
commit22cde75eb77eae3f587fad93cd918e2402c6cf73 (patch)
tree06716b13765617c17622ef68c941f00eb6696ca7 /cmd/extracthocrlines
parent179dba971a77701ac7b3f19c7f37c1b049af11e9 (diff)
extracthocrlines: Fix syntax error typo
Diffstat (limited to 'cmd/extracthocrlines')
-rw-r--r--cmd/extracthocrlines/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/extracthocrlines/main.go b/cmd/extracthocrlines/main.go
index d4f0d53..34652ea 100644
--- a/cmd/extracthocrlines/main.go
+++ b/cmd/extracthocrlines/main.go
@@ -78,7 +78,7 @@ func main() {
if *usebasepath {
imgName := strings.TrimSuffix(f, ".hocr") + ".png"
newlines, err = hocr.GetLineDetailsCustomImg(f, imgName)
- else {
+ } else {
newlines, err = hocr.GetLineDetails(f)
}
if err != nil {