isbn 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. data/{README → README.md} +5 -11
  2. data/Rakefile +20 -14
  3. data/isbn.gemspec +23 -0
  4. data/lib/isbn.rb +2 -0
  5. data/test/isbn_spec.rb +1 -1
  6. metadata +29 -316
  7. data/VERSION +0 -1
  8. data/src/gocr-0.48/.cvsignore +0 -6
  9. data/src/gocr-0.48/AUTHORS +0 -7
  10. data/src/gocr-0.48/BUGS +0 -55
  11. data/src/gocr-0.48/CREDITS +0 -17
  12. data/src/gocr-0.48/HISTORY +0 -243
  13. data/src/gocr-0.48/INSTALL +0 -83
  14. data/src/gocr-0.48/Makefile +0 -193
  15. data/src/gocr-0.48/Makefile.in +0 -193
  16. data/src/gocr-0.48/README +0 -165
  17. data/src/gocr-0.48/READMEde.txt +0 -80
  18. data/src/gocr-0.48/REMARK.txt +0 -18
  19. data/src/gocr-0.48/REVIEW +0 -538
  20. data/src/gocr-0.48/TODO +0 -65
  21. data/src/gocr-0.48/bin/.cvsignore +0 -2
  22. data/src/gocr-0.48/bin/create_db +0 -38
  23. data/src/gocr-0.48/bin/gocr.tcl +0 -527
  24. data/src/gocr-0.48/bin/gocr_chk.sh +0 -44
  25. data/src/gocr-0.48/configure +0 -4689
  26. data/src/gocr-0.48/configure.in +0 -71
  27. data/src/gocr-0.48/doc/.#Makefile.1.6 +0 -39
  28. data/src/gocr-0.48/doc/.cvsignore +0 -2
  29. data/src/gocr-0.48/doc/Makefile +0 -39
  30. data/src/gocr-0.48/doc/Makefile.in +0 -39
  31. data/src/gocr-0.48/doc/example.dtd +0 -53
  32. data/src/gocr-0.48/doc/example.xml +0 -21
  33. data/src/gocr-0.48/doc/examples.txt +0 -67
  34. data/src/gocr-0.48/doc/gocr.html +0 -578
  35. data/src/gocr-0.48/doc/unicode.txt +0 -57
  36. data/src/gocr-0.48/examples/.#Makefile.1.22 +0 -166
  37. data/src/gocr-0.48/examples/4x6.png +0 -0
  38. data/src/gocr-0.48/examples/4x6.txt +0 -2
  39. data/src/gocr-0.48/examples/5x7.png +0 -0
  40. data/src/gocr-0.48/examples/5x7.png.txt +0 -2
  41. data/src/gocr-0.48/examples/5x8.png +0 -0
  42. data/src/gocr-0.48/examples/5x8.png.txt +0 -2
  43. data/src/gocr-0.48/examples/Makefile +0 -166
  44. data/src/gocr-0.48/examples/color.fig +0 -20
  45. data/src/gocr-0.48/examples/ex.fig +0 -16
  46. data/src/gocr-0.48/examples/font.tex +0 -22
  47. data/src/gocr-0.48/examples/font1.tex +0 -46
  48. data/src/gocr-0.48/examples/font2.fig +0 -27
  49. data/src/gocr-0.48/examples/font_nw.tex +0 -24
  50. data/src/gocr-0.48/examples/handwrt1.jpg +0 -0
  51. data/src/gocr-0.48/examples/handwrt1.txt +0 -10
  52. data/src/gocr-0.48/examples/inverse.fig +0 -20
  53. data/src/gocr-0.48/examples/matrix.jpg +0 -0
  54. data/src/gocr-0.48/examples/ocr-a-subset.png +0 -0
  55. data/src/gocr-0.48/examples/ocr-a-subset.png.txt +0 -4
  56. data/src/gocr-0.48/examples/ocr-a.png +0 -0
  57. data/src/gocr-0.48/examples/ocr-a.txt +0 -6
  58. data/src/gocr-0.48/examples/ocr-b.png +0 -0
  59. data/src/gocr-0.48/examples/ocr-b.png.txt +0 -4
  60. data/src/gocr-0.48/examples/polish.tex +0 -28
  61. data/src/gocr-0.48/examples/rotate45.fig +0 -14
  62. data/src/gocr-0.48/examples/score +0 -36
  63. data/src/gocr-0.48/examples/text.tex +0 -28
  64. data/src/gocr-0.48/gpl.html +0 -537
  65. data/src/gocr-0.48/include/.cvsignore +0 -2
  66. data/src/gocr-0.48/include/config.h +0 -36
  67. data/src/gocr-0.48/include/config.h.in +0 -36
  68. data/src/gocr-0.48/include/version.h +0 -2
  69. data/src/gocr-0.48/install-sh +0 -3
  70. data/src/gocr-0.48/make.bat +0 -57
  71. data/src/gocr-0.48/man/.cvsignore +0 -2
  72. data/src/gocr-0.48/man/Makefile +0 -29
  73. data/src/gocr-0.48/man/Makefile.in +0 -29
  74. data/src/gocr-0.48/man/man1/gocr.1 +0 -166
  75. data/src/gocr-0.48/src/.cvsignore +0 -4
  76. data/src/gocr-0.48/src/Makefile +0 -132
  77. data/src/gocr-0.48/src/Makefile.in +0 -132
  78. data/src/gocr-0.48/src/amiga.h +0 -31
  79. data/src/gocr-0.48/src/barcode.c +0 -846
  80. data/src/gocr-0.48/src/barcode.c.orig +0 -593
  81. data/src/gocr-0.48/src/barcode.h +0 -11
  82. data/src/gocr-0.48/src/box.c +0 -372
  83. data/src/gocr-0.48/src/database.c +0 -462
  84. data/src/gocr-0.48/src/detect.c +0 -943
  85. data/src/gocr-0.48/src/gocr.c +0 -373
  86. data/src/gocr-0.48/src/gocr.h +0 -288
  87. data/src/gocr-0.48/src/jconv.c +0 -168
  88. data/src/gocr-0.48/src/job.c +0 -84
  89. data/src/gocr-0.48/src/lines.c +0 -350
  90. data/src/gocr-0.48/src/list.c +0 -334
  91. data/src/gocr-0.48/src/list.h +0 -90
  92. data/src/gocr-0.48/src/ocr0.c +0 -6756
  93. data/src/gocr-0.48/src/ocr0.h +0 -63
  94. data/src/gocr-0.48/src/ocr0n.c +0 -1475
  95. data/src/gocr-0.48/src/ocr1.c +0 -85
  96. data/src/gocr-0.48/src/ocr1.h +0 -3
  97. data/src/gocr-0.48/src/otsu.c +0 -289
  98. data/src/gocr-0.48/src/otsu.h +0 -23
  99. data/src/gocr-0.48/src/output.c +0 -289
  100. data/src/gocr-0.48/src/output.h +0 -37
  101. data/src/gocr-0.48/src/pcx.c +0 -153
  102. data/src/gocr-0.48/src/pcx.h +0 -9
  103. data/src/gocr-0.48/src/pgm2asc.c +0 -2893
  104. data/src/gocr-0.48/src/pgm2asc.h +0 -105
  105. data/src/gocr-0.48/src/pixel.c +0 -537
  106. data/src/gocr-0.48/src/pnm.c +0 -533
  107. data/src/gocr-0.48/src/pnm.h +0 -35
  108. data/src/gocr-0.48/src/progress.c +0 -87
  109. data/src/gocr-0.48/src/progress.h +0 -42
  110. data/src/gocr-0.48/src/remove.c +0 -703
  111. data/src/gocr-0.48/src/tga.c +0 -87
  112. data/src/gocr-0.48/src/tga.h +0 -6
  113. data/src/gocr-0.48/src/unicode.c +0 -1314
  114. data/src/gocr-0.48/src/unicode.h +0 -1257
  115. data/src/jpeg-7/Makefile.am +0 -133
  116. data/src/jpeg-7/Makefile.in +0 -1089
  117. data/src/jpeg-7/README +0 -322
  118. data/src/jpeg-7/aclocal.m4 +0 -8990
  119. data/src/jpeg-7/ansi2knr.1 +0 -36
  120. data/src/jpeg-7/ansi2knr.c +0 -739
  121. data/src/jpeg-7/cderror.h +0 -132
  122. data/src/jpeg-7/cdjpeg.c +0 -181
  123. data/src/jpeg-7/cdjpeg.h +0 -187
  124. data/src/jpeg-7/change.log +0 -270
  125. data/src/jpeg-7/cjpeg.1 +0 -325
  126. data/src/jpeg-7/cjpeg.c +0 -616
  127. data/src/jpeg-7/ckconfig.c +0 -402
  128. data/src/jpeg-7/coderules.txt +0 -118
  129. data/src/jpeg-7/config.guess +0 -1561
  130. data/src/jpeg-7/config.sub +0 -1686
  131. data/src/jpeg-7/configure +0 -17139
  132. data/src/jpeg-7/configure.ac +0 -317
  133. data/src/jpeg-7/depcomp +0 -630
  134. data/src/jpeg-7/djpeg.1 +0 -251
  135. data/src/jpeg-7/djpeg.c +0 -617
  136. data/src/jpeg-7/example.c +0 -433
  137. data/src/jpeg-7/filelist.txt +0 -215
  138. data/src/jpeg-7/install-sh +0 -520
  139. data/src/jpeg-7/install.txt +0 -1097
  140. data/src/jpeg-7/jaricom.c +0 -148
  141. data/src/jpeg-7/jcapimin.c +0 -282
  142. data/src/jpeg-7/jcapistd.c +0 -161
  143. data/src/jpeg-7/jcarith.c +0 -921
  144. data/src/jpeg-7/jccoefct.c +0 -453
  145. data/src/jpeg-7/jccolor.c +0 -459
  146. data/src/jpeg-7/jcdctmgr.c +0 -482
  147. data/src/jpeg-7/jchuff.c +0 -1612
  148. data/src/jpeg-7/jcinit.c +0 -65
  149. data/src/jpeg-7/jcmainct.c +0 -293
  150. data/src/jpeg-7/jcmarker.c +0 -667
  151. data/src/jpeg-7/jcmaster.c +0 -770
  152. data/src/jpeg-7/jcomapi.c +0 -106
  153. data/src/jpeg-7/jconfig.bcc +0 -48
  154. data/src/jpeg-7/jconfig.cfg +0 -45
  155. data/src/jpeg-7/jconfig.dj +0 -38
  156. data/src/jpeg-7/jconfig.mac +0 -43
  157. data/src/jpeg-7/jconfig.manx +0 -43
  158. data/src/jpeg-7/jconfig.mc6 +0 -52
  159. data/src/jpeg-7/jconfig.sas +0 -43
  160. data/src/jpeg-7/jconfig.st +0 -42
  161. data/src/jpeg-7/jconfig.txt +0 -155
  162. data/src/jpeg-7/jconfig.vc +0 -45
  163. data/src/jpeg-7/jconfig.vms +0 -37
  164. data/src/jpeg-7/jconfig.wat +0 -38
  165. data/src/jpeg-7/jcparam.c +0 -632
  166. data/src/jpeg-7/jcprepct.c +0 -358
  167. data/src/jpeg-7/jcsample.c +0 -545
  168. data/src/jpeg-7/jctrans.c +0 -381
  169. data/src/jpeg-7/jdapimin.c +0 -396
  170. data/src/jpeg-7/jdapistd.c +0 -275
  171. data/src/jpeg-7/jdarith.c +0 -762
  172. data/src/jpeg-7/jdatadst.c +0 -151
  173. data/src/jpeg-7/jdatasrc.c +0 -212
  174. data/src/jpeg-7/jdcoefct.c +0 -736
  175. data/src/jpeg-7/jdcolor.c +0 -396
  176. data/src/jpeg-7/jdct.h +0 -393
  177. data/src/jpeg-7/jddctmgr.c +0 -382
  178. data/src/jpeg-7/jdhuff.c +0 -1309
  179. data/src/jpeg-7/jdinput.c +0 -384
  180. data/src/jpeg-7/jdmainct.c +0 -512
  181. data/src/jpeg-7/jdmarker.c +0 -1360
  182. data/src/jpeg-7/jdmaster.c +0 -663
  183. data/src/jpeg-7/jdmerge.c +0 -400
  184. data/src/jpeg-7/jdpostct.c +0 -290
  185. data/src/jpeg-7/jdsample.c +0 -361
  186. data/src/jpeg-7/jdtrans.c +0 -136
  187. data/src/jpeg-7/jerror.c +0 -252
  188. data/src/jpeg-7/jerror.h +0 -304
  189. data/src/jpeg-7/jfdctflt.c +0 -174
  190. data/src/jpeg-7/jfdctfst.c +0 -230
  191. data/src/jpeg-7/jfdctint.c +0 -4348
  192. data/src/jpeg-7/jidctflt.c +0 -242
  193. data/src/jpeg-7/jidctfst.c +0 -368
  194. data/src/jpeg-7/jidctint.c +0 -5137
  195. data/src/jpeg-7/jinclude.h +0 -91
  196. data/src/jpeg-7/jmemansi.c +0 -167
  197. data/src/jpeg-7/jmemdos.c +0 -638
  198. data/src/jpeg-7/jmemdosa.asm +0 -379
  199. data/src/jpeg-7/jmemmac.c +0 -289
  200. data/src/jpeg-7/jmemmgr.c +0 -1118
  201. data/src/jpeg-7/jmemname.c +0 -276
  202. data/src/jpeg-7/jmemnobs.c +0 -109
  203. data/src/jpeg-7/jmemsys.h +0 -198
  204. data/src/jpeg-7/jmorecfg.h +0 -369
  205. data/src/jpeg-7/jpegint.h +0 -395
  206. data/src/jpeg-7/jpeglib.h +0 -1135
  207. data/src/jpeg-7/jpegtran.1 +0 -272
  208. data/src/jpeg-7/jpegtran.c +0 -546
  209. data/src/jpeg-7/jquant1.c +0 -856
  210. data/src/jpeg-7/jquant2.c +0 -1310
  211. data/src/jpeg-7/jutils.c +0 -179
  212. data/src/jpeg-7/jversion.h +0 -14
  213. data/src/jpeg-7/libjpeg.map +0 -4
  214. data/src/jpeg-7/libjpeg.txt +0 -3067
  215. data/src/jpeg-7/ltmain.sh +0 -8406
  216. data/src/jpeg-7/makcjpeg.st +0 -36
  217. data/src/jpeg-7/makdjpeg.st +0 -36
  218. data/src/jpeg-7/makeadsw.vc6 +0 -77
  219. data/src/jpeg-7/makeasln.vc9 +0 -33
  220. data/src/jpeg-7/makecdep.vc6 +0 -82
  221. data/src/jpeg-7/makecdsp.vc6 +0 -130
  222. data/src/jpeg-7/makecmak.vc6 +0 -159
  223. data/src/jpeg-7/makecvcp.vc9 +0 -186
  224. data/src/jpeg-7/makeddep.vc6 +0 -82
  225. data/src/jpeg-7/makeddsp.vc6 +0 -130
  226. data/src/jpeg-7/makedmak.vc6 +0 -159
  227. data/src/jpeg-7/makedvcp.vc9 +0 -186
  228. data/src/jpeg-7/makefile.ansi +0 -220
  229. data/src/jpeg-7/makefile.bcc +0 -291
  230. data/src/jpeg-7/makefile.dj +0 -226
  231. data/src/jpeg-7/makefile.manx +0 -220
  232. data/src/jpeg-7/makefile.mc6 +0 -255
  233. data/src/jpeg-7/makefile.mms +0 -224
  234. data/src/jpeg-7/makefile.sas +0 -258
  235. data/src/jpeg-7/makefile.unix +0 -234
  236. data/src/jpeg-7/makefile.vc +0 -217
  237. data/src/jpeg-7/makefile.vms +0 -142
  238. data/src/jpeg-7/makefile.wat +0 -239
  239. data/src/jpeg-7/makejdep.vc6 +0 -423
  240. data/src/jpeg-7/makejdsp.vc6 +0 -285
  241. data/src/jpeg-7/makejdsw.vc6 +0 -29
  242. data/src/jpeg-7/makejmak.vc6 +0 -425
  243. data/src/jpeg-7/makejsln.vc9 +0 -17
  244. data/src/jpeg-7/makejvcp.vc9 +0 -328
  245. data/src/jpeg-7/makeproj.mac +0 -213
  246. data/src/jpeg-7/makerdep.vc6 +0 -6
  247. data/src/jpeg-7/makerdsp.vc6 +0 -78
  248. data/src/jpeg-7/makermak.vc6 +0 -110
  249. data/src/jpeg-7/makervcp.vc9 +0 -133
  250. data/src/jpeg-7/maketdep.vc6 +0 -43
  251. data/src/jpeg-7/maketdsp.vc6 +0 -122
  252. data/src/jpeg-7/maketmak.vc6 +0 -131
  253. data/src/jpeg-7/maketvcp.vc9 +0 -178
  254. data/src/jpeg-7/makewdep.vc6 +0 -6
  255. data/src/jpeg-7/makewdsp.vc6 +0 -78
  256. data/src/jpeg-7/makewmak.vc6 +0 -110
  257. data/src/jpeg-7/makewvcp.vc9 +0 -133
  258. data/src/jpeg-7/makljpeg.st +0 -68
  259. data/src/jpeg-7/maktjpeg.st +0 -30
  260. data/src/jpeg-7/makvms.opt +0 -4
  261. data/src/jpeg-7/missing +0 -376
  262. data/src/jpeg-7/rdbmp.c +0 -439
  263. data/src/jpeg-7/rdcolmap.c +0 -253
  264. data/src/jpeg-7/rdgif.c +0 -38
  265. data/src/jpeg-7/rdjpgcom.1 +0 -63
  266. data/src/jpeg-7/rdjpgcom.c +0 -515
  267. data/src/jpeg-7/rdppm.c +0 -459
  268. data/src/jpeg-7/rdrle.c +0 -387
  269. data/src/jpeg-7/rdswitch.c +0 -365
  270. data/src/jpeg-7/rdtarga.c +0 -500
  271. data/src/jpeg-7/structure.txt +0 -945
  272. data/src/jpeg-7/testimg.bmp +0 -0
  273. data/src/jpeg-7/testimg.jpg +0 -0
  274. data/src/jpeg-7/testimg.ppm +0 -4
  275. data/src/jpeg-7/testimgp.jpg +0 -0
  276. data/src/jpeg-7/testorig.jpg +0 -0
  277. data/src/jpeg-7/testprog.jpg +0 -0
  278. data/src/jpeg-7/transupp.c +0 -1533
  279. data/src/jpeg-7/transupp.h +0 -205
  280. data/src/jpeg-7/usage.txt +0 -605
  281. data/src/jpeg-7/wizard.txt +0 -211
  282. data/src/jpeg-7/wrbmp.c +0 -442
  283. data/src/jpeg-7/wrgif.c +0 -399
  284. data/src/jpeg-7/wrjpgcom.1 +0 -103
  285. data/src/jpeg-7/wrjpgcom.c +0 -583
  286. data/src/jpeg-7/wrppm.c +0 -269
  287. data/src/jpeg-7/wrrle.c +0 -305
  288. data/src/jpeg-7/wrtarga.c +0 -253
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 2.0.4
@@ -1,6 +0,0 @@
1
- .cvsignore
2
- .version
3
- Makefile
4
- autom4te.cache
5
- config.status
6
- config.log
@@ -1,7 +0,0 @@
1
- Authors (in chronological order):
2
-
3
- Joerg Schulenburg <jNOschulen{at}gmx.SPAM.de> (remove NO+SPAM for valid EMAIL address)
4
- * Original idea and creation, programmer leader
5
-
6
- Bruno Barberi Gnecco <brunobg{at}users.sourceforge.net>
7
- * Programmer
data/src/gocr-0.48/BUGS DELETED
@@ -1,55 +0,0 @@
1
- BUGS
2
-
3
- Reporting
4
- ---------
5
- Please do not hesitate to report bugs, and if possible their fixes! If you
6
- send an example file, please make sure it's small. To report bugs, do one
7
- of the following:
8
-
9
- * go to http://sourceforge.net/bugs/?func=addbug&group_id=7147.
10
- This is the preferred way to report bugs.
11
-
12
- * send it to one of the authors. Note that sometimes we may be busy, and
13
- we won't reply it for days. If you post using the previous method, surely
14
- one of the authors will read it.
15
-
16
- * use
17
- diff -ru gocr_origin/ gocr_changed/ >patch
18
- to create patches
19
-
20
- * if you have compiling problems, do not forget to send your configure-output
21
- and the config.log file
22
-
23
-
24
- Known bugs (see jocr.SF.net page too)
25
- ----------
26
-
27
- v0.48 cutting of double melted chars will fail (example: serif MN)
28
- v0.43 on dithered images gocr runs extremely long (seems to hang)
29
- v0.41 linker error using g++ and netpbm under SuSE-9.3
30
- v0.3.5
31
- - segfault on some systems which do not support ifalpha(256+x)
32
- - hexcode not read from database
33
- v0.2.5 german umlauts and i-dots are not handled correctly
34
- problems high resolution fonts
35
- v0.2.4 I guess, there are still bugs.
36
- Some systems do not handle stack in good manner (AmigaOS?).
37
- gocr does extensively consume stack for recursive functions.
38
- Therefore you can get memory protection failures or strange results.
39
- The worst case is a huge black area. If that is a problem for you
40
- request for changing it.
41
- --- --- --- --- only for linux freaks --- --- ---
42
- By mistake I programmed an endless rekursiv function and ...
43
- SuSE6.4+linux2.2.12/13 got several "out of mem" and system CRASHED!!!
44
- ulimit: stack=unlimited
45
- - if text is framed, frame should be ignored, but it is not
46
- v0.2.3 still problems with segmentation
47
- - gcc 2.95.2 (SuSE6.4) error in load_db(), => fixed (thx to jasper)
48
- v0.2.1
49
- - some people have problems running gocr on DOS/Win95
50
- I guess: stack overflow. Is someone able to analyze or fix this?
51
- - large black areas on pbm-files cause a segfault on
52
- Ultra/Sparc (64bit) machines running Linux (2.1.126).
53
- There is a recursive function in the program which causes a
54
- stack overflow, which is not detected by the linux-kernel (BUG?).
55
- I look for a better solution.
@@ -1,17 +0,0 @@
1
- Thanks:
2
- ...to everyone who contributed to gocr. If you feel that your
3
- name should be in this list, write mail to the author. These
4
- are in no particular order:
5
-
6
- G.Kugler for sending me first example files and testing. (MayMM)
7
- Klaas Freitag for the libPgm2asc-patch <freitag@suse.de>
8
- Ryan Dibble for the otsu.c file <dibbler@umich.edu>
9
- Tim Waugh for the man page <twaugh@redhat.com>
10
- David Pinson for the tkispell-patch <dpinson@materials.unsw.EDU.AU>
11
- Martin Goldhahn for some patches <Martin.Goldhahn@Webcenter.no>
12
- Eberhard Burkard for the gocr.tcl patch <E.Burkard@web.de>
13
- James R. Van Zandt for lot of tips <jrv@vanzandt.mv.com>
14
- ...
15
-
16
- ... and everyone else who submitted bug-reports,
17
- feature-requests, patches and lots of example files.
@@ -1,243 +0,0 @@
1
- History: (Changes,ChangeLog)
2
- 0.48 Jul09
3
- fix buffer overflow introduced in 0.46 for filenames
4
- add codabar barcode
5
- fix bug, removing melted serifs
6
- add patch by Chris Lee, i25 barcode recognition + modifications
7
- fix some false positive numbers "34" (video, gas meter)
8
- fix problems with 2zZ4 for 10x10 screen font
9
- better debug output for :;,.
10
- remove examples, doc and libs part from configure (see below)
11
- remove doc and examples from the (make install) part to reduce
12
- dependencies (gs and transfig is not needed for rpm/ebuild)
13
- gocr only may depend from netpbm, but can live without too
14
- this will help to install gocr on "exotic" (nonlinux) platforms
15
- fix gentoo app-text/gocr Bug 243250 src/Makefile: $(CC) $(LDFLAGS) ...
16
-
17
- 0.47 fix database recognition for certainty 100 (-a 100)
18
- insert spaces with certainty 100 (old: 99) to let -a 100 work
19
- new option -u string for unrecognized chars
20
- fix: No contrast in image causes division by zero
21
- reduced false positive recognition of scanned "a496" (Gutenberg Project)
22
- "d as a" patch ID: 1556112
23
- add "Windows Pipe Fix", but I hate extra code for bad environments
24
- improve 7x10, sample 0811qemu1.png (ToDo: not finished)
25
- change black:white from &gt;4:1 to &gt;3.5:1 as criteria of inversion
26
- reintroduce static library libPgm2asc.a (make libs) for OSRA project
27
- add dynamic library (make libs), unused but may help other projects
28
-
29
- 0.46 improved context correction (especially helvetica "Il")
30
- improved recognition of tiny chars "$1", fat "s", "rw" ","
31
- fix blank spaces problem in filenames
32
- (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316511)
33
- !!! please check on other platforms and report to me !!!
34
- there are still problems with special chars (double quodes, backslash)
35
- better use this way: djpeg -gray -pnm strangefilename.jpg | gocr -
36
- fix possible problem with database and UTF8 input
37
- fix hidden bug in pitch/spacing initialization
38
- reactivate code for output of glued chars and strings
39
- fix wrong close() call
40
- remove creation of pgm2asc.a for simplicity (see SF-patch 1827477)
41
-
42
- 0.45 minor corrections for c and k
43
- minus sign is filtered by option -C "--" now, ("\-" was parsed badly)
44
- clean up old unused code for simplicity (api, frontend)
45
- fix problem with low height barcodes and barcode removing
46
- fix problem with readpgm (for multiple images) and database
47
- PACKAGE_VERSION defined by configure.in AC_INIT + gocr.spec
48
-
49
- 0.44 add volume to boxes (negative means white areas inside black areas)
50
- Fix overflow in despeckling routine (verbose mode, dust removing)
51
- reactivate composed chars, fix merge_boxes
52
- fix problems with uncertain line detection and not recognized "7"
53
- option -a has an effect now for the output
54
- adaptions to MICR E13-B font (see GnuMICR), ToDo: 4 extra-chars
55
- fix num_boxes in merge_boxes (affects line detection)
56
- reduce 2 prompts to one per char in database mode, ^A for skip all
57
- fix problem with smaller headlines
58
- fix problems with tall font (4)
59
- fix includes for non-linux-platforms
60
-
61
- 0.43 fix problem with dark frame around image
62
- support multiple images, ex: giftopnm -image=all a.gif | gocr -
63
- invert if obviously white on black (black_mass>=4*white_mass)
64
- improve thresholding for discrete histograms
65
- (note: this can particularly lead to bad results, will be fixed later)
66
- speedup for big boxes (especially dark background)
67
- fix memory leak (setas(same string) + detect_barcode)
68
- fix uninitialized variables after insert spaces (num_frames)
69
- fix frame_vector for single pixels (twice + ERROR idx out of range)
70
-
71
- 0.42 further parts of recognition engine relaced by vector version
72
- changed colored debug output for out??.png
73
- division of glued chars replaced (slower but more accurate)
74
- fix framing of small font
75
- fix problem with uninitialized pnm_readpaminit call (CPS 21Nov06)
76
- better progress output (see progress.[ch]), new image debug output
77
- switch to the new improved rotation detection
78
-
79
- 0.41 (buggy if --with-netpbm=no, apply the pgm-patch!)
80
- otsu.c concentrates now only on high contrast regions
81
- fix pnm reads for 2 byte pixels (--with-libpbm=no)
82
- update man-page (mail me your suggestions)
83
- fix g++ warnings, float-OPs replaced by int-OPs
84
- spacing reviewed; make distance() more sensitive
85
- xml-objects (barcode, melted chars) now also handled with weights
86
- fix division by zero bug for vertical positioned characters
87
- default output is UTF8 now, UTF-encoding bug fixed
88
- added certainty option
89
- added uninstall to Makefile
90
- debug image format changed to png (using pipe) or ppm (fall-back)
91
- much better word spacing (line-by-line based)
92
- better DOT_ABOVE recognition
93
- fix output of char groups or strings stored in database, utf8 input
94
- fix buffer overflow in barcode decode39
95
- fix lost comma on end of line
96
- internal vector format added for future use (faster, scalable, rotable)
97
- line detection extended
98
- internal list management rewritten to fix memory leaks and segfaults
99
-
100
- 0.40 update PNM file reader to maxval > 255
101
- (make rpm) updated
102
- barcode-patch UPC_addon by Michael van Rooyen
103
- CAPITAL_LETTER_A_WITH_OGONEK added
104
- no "(PICTURE)" output for UTF8+ASCII (better for Mobile OCR project)
105
- smooth_borders() bug fixed and reworked
106
- 5x7 and prop10 font adaptions
107
- objects now detected by flood-fill algorithm (better?)
108
- XML-output changed
109
- changed auto dust detection (not final)
110
-
111
- 0.39 XML output added (subject of change, suggestions are welcome)
112
- netpbm-link-error fixed in gocr.c and configure.in:
113
- gocr.c: <config.h> changed to "config.h"
114
- configure-option --with-netpbm=PATH and --without-netpbm added
115
- update configure.in according to autoconf 2.57
116
- wchar_h miss-configuration fixed in pgm2asc.c
117
- fix compiler warnings
118
- char filter accepts abbreviations now, like "0-9A-F" (but slow)
119
- update READMEde.txt
120
- output barcode tags (also improved recognition)
121
- fix pnm.c for files like example.eps.pbm
122
- fix detect.c for barcodes
123
- fix ocr0n.c 0<->8g
124
-
125
- 0.38 move UTF/HTML/TeX decoding to getTextLine, return (char *) now
126
- out_format HTML step towards detailed XML output
127
- correct line detection for footnotes (detect.c)
128
- "y" now seen as vowel (pgm2asc.c), I<vowel> susbtituted by l<vowel>
129
- &eacute;-detection, &aacute;-output fixed
130
- default dust_size is -1 now (auto detection = mean_size/10)
131
- char filter added
132
- ex: -C 0123456789ABCDEF - recognize only hexcodes
133
- man page updated (hopefully correct syntax)
134
- database bug fixed (small fonts, example by Chris)
135
- several bugs fixed by W. Webber (thanks)
136
- speed improved by 3rd-pass matrix filter in pixel() (pixel.c) (code from W. Webber)
137
- bug in remove_dust (remove.c) fixed
138
- for fonts bigger than 20x40 smooth_borders() changed (b/w-scans)
139
- bug in O0-detection fixed
140
-
141
- 0.37 best-fit generates probability, not perfect but better results
142
- bug in line detection removed (happens for lot of small boxes)
143
- progress output (option -x <fileID|fname>)
144
- counting versions number as floating point now
145
- MACRON and DOT_ABOVE (not complete) defined (latin2)
146
- adaptions for 5x7 and 6x12 screen font
147
- doc/ocr.tex changed to doc/gocr.html (now independent of LaTeX)
148
- symbols {} added
149
- OCR-B font tested succesfull
150
- better headline/picture distinction
151
- bug removed (struct box.modifier is wchar_t now)
152
-
153
- known bugs: to much newlines
154
-
155
- 0.3.6
156
- CARON and Omega defined,
157
- output of not defined chars (HTML="&#xxx;", TeX="\symbol{xxx}")
158
- system dependend bug: isupper(>255) SIGSEGV fixed
159
- better line detection for lines with lowercase chars only
160
- lot of possible SIGSEGV in list_del() fixed
161
- barcode recognition (UPC,code128)
162
- .ps .eps via pstopnm supported
163
- -m 256 switches off the main ocr engine (usefull together with -m 2 for identical chars)
164
- strings added to database ("ff","ft","special-symbol")
165
- gocr.tcl adapted to gocr v0.3
166
- internal detection probability introduced
167
-
168
- 0.3.5
169
- minor and major fixes (string\0 bugs)
170
- memory leak fixes by Duncan Edwards
171
- layout analysis or zoning (-m 4) improved,
172
- now it detects pictures and columns much better
173
- the behavior of setting threshold (-l) is slightly changed
174
- wcsdup defined for non-gnu-systems (BSD), further Problems?
175
- better context correction for 10 (IO,lO)
176
- Fixes for S.Koledin examples "GlS"
177
- Euro-currency-sign detection added
178
- better pitch estimation for proportional font (needs to be improved)
179
- make install DESTDIR= instead configure --prefix= (better?)
180
- use wchar_t by default, more simple code and -f works with nonLinuxOS
181
- line detection more robust against vertical glued chars (js)
182
- -f UTF8 added (usefull for xterm -u8), should be default?
183
- handle vertical glued boxes (ex: g over T)
184
- 0.3.4
185
- some BSD adaptions (no WCHAR?), tell me if there are still problems
186
- use unicode in database (4-8 hex digits)
187
- new option: -p database_path/
188
- TILDE fixed, #, &AElig;, &Aring;, etc. added (swedish,norwegian)
189
- layout analysis improved
190
- 0.3.3
191
- database (-m 2) bug fixed and interactive mode (-m 130) added
192
- its not finished, but you can test it
193
- result should be ok for machine generated images (no scans)
194
- engine improved a bit
195
- 0.3.2
196
- ocr-engine improved for screen fonts (thanks for examples)
197
- option -f [HTML,TeX,...] added
198
- 0.3.1
199
- make install updated
200
- 0.3.0 some parts of the code reviewed (most work done by Bruno Barberi Gnecco)
201
- tkispell patch from David Pinson (exec bug fixed)
202
- gnome frontend added (Dany De Bontrider)
203
- acute, grave, circumflex ... detection
204
- C++ parts rewritten into C, and much more (see REVIEW)
205
- 0.2.7 lib-patch from Klaas Freitag inserted, engine improved
206
- option -n 1 detect only numbers, get threshold value by otsu.cc
207
- xxx.pnm.bz2 can be used on linux systems bzip2 installed
208
- 0.2.6 pipes used on POSIX2-systems for easier use of jpg,gif,tiff,pnm.gz-files
209
- example: gocr text.jpg; gocr text.pnm.gz
210
- verbose output on stderr, text output on stdout,
211
- redirection of output possible (-e, -o, example: -e /dev/stdout)
212
- engine upgraded a bit (thx for the new sample files)
213
- gocr.tcl upgraded (save options, save text)
214
- DOS/WIN95-EXE created, download GOCREXE.ZIP (v0.2.5)
215
- 0.2.5 program convert renamed to jconv
216
- you can choose stdin as input now, for using conversion tools
217
- example: djpeg -pnm -gray text.jpg | gocr -i -
218
- option "--help" added, some bugs removed
219
- amiga.h added for SAS/C under AmigaOS (suggested by Uffe Holst)
220
- line detection changed (faster?)
221
- importing gocr in your C++ application is easier now (see fkt pgm2asc)
222
- argument can be given instead of option -i (this is more natural)
223
- some reorganization of code (not finished)
224
- 2000 downloads counted !!! Jun2000
225
- SourceForge.net used for gocr (project: jocr, other gocr exist there)
226
- bugs in dust removing, line detection and zoning fixed (rewritten)
227
- first version of tcl/tk-GUI, test it!
228
- rekursive function frame_nn() replaced by labyrint-algorithm (no extensiv stack used)
229
- gluing of broken chars added, removing glued serifs (on small fonts)
230
- new bugs added :;
231
- 0.2.4a2 some details are added (better dust removing and char division)
232
- 0.2.4 three char division (connected chars), dust removing
233
- 0.2.3 add layout analysis (very slowly, try -m 4), engine modified
234
- better distance function, engine updated, database added for testing
235
- 1000 downloads counted !!! May2000
236
- 0.2.2 gocr_0_2.tgz expands into gocr_0_2 directory (thanks to zz99zz)
237
- engine upgraded a bit, some bugs fixed (umlaut, thin lines)
238
- short documentation added (ocr.tex)
239
- colored output (out30.bmp) for test/development-mode
240
- bug: read ASC-PBM and PCX (1 bit) fixed
241
- 0.2.1 first official release on freshmeat.net March 2000
242
- 0.2 line scanning added
243
- 0.1 project started (not documented), autumn 1998 - summer 1999
@@ -1,83 +0,0 @@
1
- INSTALLING gOCR
2
-
3
-
4
- INSTALLING BINARIES
5
- -------------------
6
- Be sure that you have all the libraries needed. To install a binary package,
7
- do the following:
8
-
9
- 1. Unpack the archive if you have not done so already:
10
-
11
- tar -xzf gocr[version].tar.gz
12
-
13
- on older tar versions, the above line might not work. If so, try the following:
14
-
15
- gzip -cd gocr[version].tgz | tar -xf -
16
-
17
- This creates the directory ./gocr[version] containing the source from
18
- the main archive.
19
-
20
- 2. Change to gocr directory and run make (use GNU Make).
21
-
22
- cd gocr[version]; make install
23
-
24
- That's it.
25
-
26
- INSTALLING FROM SOURCE
27
- ----------------------
28
-
29
- Requirements
30
- ------------
31
- You'll need a compiler; we recommend gcc, but the code should compile in any
32
- good one. gcc is available at http://gcc.gnu.org. I had some problems with gcc
33
- 2.95.1 (it consumed a LOT of memory while compiling ocr0.c). 2.95.2 seems to
34
- be better.
35
-
36
- gOCR provides some simple functions to read/write pnm archives. Though not
37
- needed, we strongly suggest, however, that you install the NetPBM package. Its
38
- official URL is: http://download.sourceforge.net/netpbm/.
39
-
40
- Installing this package will add support to many different image formats.
41
- If you have a NetPBM version older than August 2000, we suggest that you
42
- download a more recent one, to take advantage of the new PAM functions.
43
-
44
- To create some of the examples provided, you'll need transfig.
45
- This is completely optional.
46
-
47
- Procedure
48
- ---------
49
- 1. Unpack the archive if you have not done so already:
50
-
51
- tar -xzf gocr[version].tar.gz
52
-
53
- on older tar versions, the above line might not work. If so, try the following:
54
-
55
- gzip -cd gocr[version].tgz | tar -xf -
56
-
57
- This creates the directory ./gocr[version] containing the source from
58
- the main archive.
59
-
60
- 2. Change to gocr directory and run configure.
61
-
62
- cd gocr[version]; ./configure
63
-
64
- For a list of options, try ./configure --help.
65
- If something goes wrong, try to run autoconf.
66
-
67
- 3. Run make (GNU Make). This can take a while.
68
-
69
- make
70
-
71
- 4. gOCR comes with some examples, which are generated from xfig-files.
72
- If you have transfig installed, you can make them:
73
-
74
- make examples
75
-
76
- 5. Install the binaries. You may need to do this as root.
77
-
78
- make install
79
-
80
- 6. Run gocr, or the frontend you chose.
81
-
82
- gocr -h Shows help
83
- gocr.tcl Runs Tcl GUI
@@ -1,193 +0,0 @@
1
- #
2
- # type "make help" for help
3
- #
4
- # TODO: examples
5
- # add rpm to dist package, man page
6
- #
7
- # Changes:
8
- # - be sure that configure is called after untgz, tar original file attributes
9
- # - suggestion of Marcel Pol 6Dec2001:
10
- # make install DESTDIR=$RPM_BUILD_ROOT
11
- #
12
-
13
- prefix = /usr/local
14
- #bindir = $(prefix)/bin
15
- bindir = /usr/local${exec_prefix}/bin
16
-
17
- SHELL = /bin/sh
18
- # this does not work on SuSE 6.0, why? (autoconf 2.12 do not set /bin/sh ?)
19
- #SHELL = bash #
20
- INSTALL = /usr/bin/install -c
21
- CC = gcc
22
- CFLAGS = -g -O2
23
- # following DEFs are not used, but I play with it for training
24
- CPPFLAGS = -Wall -g -fexceptions -DDO_DEBUG=1
25
- DEFS = -DHAVE_CONFIG_H
26
- includedir = ${prefix}/include
27
- #
28
- # -pedantic -ansi -Wall
29
- LDFLAGS = -lm
30
- LIBS = -lnetpbm
31
-
32
- # RANLIB = @RANLIB@
33
- # AR = @AR@
34
-
35
-
36
- # files for devel.tgz
37
- FILES = \
38
- AUTHORS Makefile Makefile.in bin/ doc/ include/ examples/ man/ src/\
39
- BUGS README make.bat CREDITS READMEde.txt REMARK.txt\
40
- HISTORY REVIEW configure gpl.html INSTALL TODO configure.in\
41
- install-sh gocr.spec .cvsignore
42
-
43
- # files for distribution
44
- AFILES = $(FILES) lib/
45
-
46
- DIRS = doc/ include/ man/ examples/ bin/ src/ lib/
47
-
48
- # export all make-variables to submakes - said to be not working on IRIS
49
-
50
- # default rule
51
- default: all
52
-
53
- .PHONY : src doc examples help clean proper distclean dist tgz rpm libs
54
-
55
- # example file generation takes lot of memory and time, do it explicitely
56
- # by make examples
57
- all: src Makefile
58
- @echo " --- for help do: make help ---"
59
- @echo " --- for documentation do: make doc ---"
60
- @echo " --- for examples do: make examples ---"
61
-
62
- include/config.h: include/config.h.in configure
63
- ./configure
64
-
65
- configure: configure.in
66
- autoconf
67
-
68
- Makefile: Makefile.in configure
69
- ./configure
70
-
71
- src/Makefile: src/Makefile.in configure
72
- ./configure
73
-
74
- src: src/Makefile
75
- $(MAKE) -C src all
76
-
77
- libs: src/Makefile
78
- $(MAKE) -C src libs
79
-
80
- man:
81
- $(MAKE) -C man all
82
-
83
- doc:
84
- $(MAKE) -C doc all
85
-
86
- examples:
87
- $(MAKE) -C examples all
88
-
89
- help:
90
- @printf "make - compile all\n"
91
- @printf "make libs - compile libraries libPgm2asc.{a,so}\n"
92
- @printf "make src - build lib and gocr\n"
93
- @printf "make man - build manual\n"
94
- @printf "make doc - make documentation\n"
95
- @printf "make examples - create examples ./examples/\n"
96
- @printf "make clean - erase temporary files\n"
97
- @printf "make proper - erase all created files\n"
98
- @printf "make install - Really? Its development version!\n"
99
- @printf "make uninstall - remove installed files from the system\n"
100
-
101
-
102
- # you can override this variable by: make install DESTDIR=yourpath
103
- DESTDIR=/usr/local
104
- .PHONY : install uninstall test examples
105
- install:
106
- $(MAKE) -C src install
107
- $(MAKE) -C man install
108
- # following steps are not needed for end users, but cost dependencies
109
- # therefore removed in 0.48
110
- # $(MAKE) -C doc install
111
- # $(MAKE) -C examples install
112
- # $(MAKE) -C frontend install
113
-
114
- uninstall:
115
- $(MAKE) -C src uninstall
116
- $(MAKE) -C man uninstall
117
- # $(MAKE) -C doc uninstall
118
- # $(MAKE) -C examples uninstall
119
- # $(MAKE) -C frontend uninstall
120
-
121
- # generate version file before packaging (most up to date)
122
- # release is the date of the last modified src file (for bug reports)
123
- # to distinguish different developper versions of same version number
124
- include/version.h: src/*.[ch] Makefile
125
- echo "#define version_string \"0.48\"" > $@
126
- echo "#define release_string \"`date +%Y%m%d`\"" >> $@
127
-
128
- dist: include/version.h
129
- echo gocr-0.48 > .fname
130
- -rm -rf `cat .fname`
131
- mkdir `cat .fname`
132
- # create subdirs, because cp -r bin/gocr.tcl jocr => jocr/gocr.tcl
133
- (cd `cat .fname`; mkdir $(DIRS))
134
- cp -r -p -d $(AFILES) `cat .fname`
135
- $(MAKE) -C `cat .fname` proper
136
- # for Win, DOS and Mac no configure available, reset config.h
137
- cp `cat .fname`/include/config.h.in `cat .fname`/include/config.h
138
- touch `cat .fname`/configure # Makefile will be updated
139
- tar chzf ../`cat .fname`.tar.gz `cat .fname`
140
- -gpg -ab --default-key 0x53BDFBE3 ../`cat .fname`.tar.gz # .asc
141
- ls -l ../`cat .fname`.tar.gz{,.asc}
142
- -rm -rf `cat .fname` .fname
143
-
144
-
145
- # the tgz-option is only for the author, to carry the sources home
146
- tgz: include/version.h
147
- mkdir jocr # causes an error if exist
148
- # create subdirs, because cp -r bin/gocr.tcl jocr => jocr/gocr.tcl
149
- (cd jocr; mkdir $(DIRS))
150
- -cp -rup -d $(FILES) CVS jocr
151
- $(MAKE) -C jocr proper
152
- if test -d jocr/src/api; then echo "--- rm -r jocr/src/api ---"; fi
153
- -rm -rf jocr/src/api
154
- # -rm -rf jocr/CVS jocr/*/CVS jocr/*/*/CVS # CVS tree
155
- -rm -rf jocr/Makefile jocr/src/Makefile jocr/include/config.h
156
- tar chzf ../jocr.tgz jocr
157
- -gpg -ab --default-key 0x53BDFBE3 ../jocr.tgz # .asc
158
- -cp ../jocr.tgz ../jocr.tgz.`date +%y%m%d` # backup, remove later
159
- ls -l ../jocr.tgz{,.asc}
160
- -rm -rf jocr
161
-
162
- # the rpm option is for the author, to create simple rpm packages
163
- TRPM = $(HOME)/tmp_gocr_build
164
- # only gocr?
165
- #VERSION=$(shell sed -e '/version_string/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q src/gocr.c)
166
- rpm:
167
- echo "%_topdir $(TRPM)" > ~/.rpmmacros
168
- mkdir -p $(TRPM)/{SOURCES,SPECS,BUILD,RPMS,SRPMS}
169
- sed "s/version.*[0-9]\.[0-9]*/version 0.48/"\
170
- gocr.spec >$(TRPM)/SPECS/gocr.spec
171
- cp ../gocr-0.48.tar.gz $(TRPM)/SOURCES
172
- #rpmbuild -ba --nobuild gocr.spec # bin+src-rpm
173
- (cd $(TRPM)/SPECS; rpmbuild -bb gocr.spec)
174
- rpm -qil -p $(TRPM)/RPMS/i?86/gocr-0.48-*.i?86.rpm
175
-
176
- # PHONY = don't look at file clean, -rm = start rm and ignore errors
177
- .PHONY : clean proper
178
- clean:
179
- -rm -f config.cache config.status config.log
180
- -rm -f *.aux *.log *.dvi *.ps *.lj *~ gocr.ini out.txt
181
- -rm -f convert.cc convert convert.o # remove v0.2.4 rests
182
- $(MAKE) -C src clean
183
- $(MAKE) -C doc clean
184
- $(MAKE) -C examples/ clean
185
-
186
-
187
- distclean: proper
188
-
189
- proper: clean
190
- $(MAKE) -C src/ proper
191
- $(MAKE) -C doc proper
192
- $(MAKE) -C examples/ proper
193
- -rm -f gocr bin/gocr libPgm2asc.* out??.bmp