summaryrefslogtreecommitdiff
path: root/pkg/prob/prob.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/prob/prob.go')
-rw-r--r--pkg/prob/prob.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/prob/prob.go b/pkg/prob/prob.go
index 7a6979a..67baa03 100644
--- a/pkg/prob/prob.go
+++ b/pkg/prob/prob.go
@@ -2,6 +2,7 @@
// Use of this source code is governed by the GPLv3
// license that can be found in the LICENSE file.
+// prob processes .prob files generated by ocropus
package prob
import (
@@ -41,7 +42,7 @@ func getLineAvg(f string) (float64, error) {
return avg, nil
}
-// Note this only processes one line at a time
+// GetLineDetails parses a .prob and corresponding .txt file
func GetLineDetails(probfn string) (line.Details, error) {
var l line.Detail
lines := make(line.Details, 0)