summaryrefslogtreecommitdiff
path: root/cmd/extracthocrlines
diff options
context:
space:
mode:
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 {