diff options
-rw-r--r-- | cmd/extracthocrlines/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/extracthocrlines/main.go b/cmd/extracthocrlines/main.go index fa5ef28..3fbafd0 100644 --- a/cmd/extracthocrlines/main.go +++ b/cmd/extracthocrlines/main.go @@ -89,6 +89,9 @@ func main() { if l.Img == nil { continue } + if l.Text == "" { + continue + } err = saveline(l, *dir) if err != nil { log.Fatal(err) |