blob: 4fabadb8d5d4afcaaf62ff66ff18c60bcb38b79e (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- ./ocropus/rec-nhocr-0.3.lua.orig 2009-05-15 17:17:07.000000000 +0900
+++ ./ocropus/rec-nhocr-0.3.lua 2014-05-07 20:53:43.000000000 +0900
@@ -41,6 +41,6 @@
for i = 1,regions:length()-1 do
regions:extract(line_image,page_image,i,1)
write_image_gray("line.pgm", line_image)
- os.execute("/opt/nhocr/bin/nhocr -line -o - line.pgm ; rm line.pgm")
+ os.execute("nhocr -line -o - line.pgm ; rm line.pgm")
end
end
|