File: TODO

package info (click to toggle)
gocr 0.52-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,824 kB
  • sloc: ansic: 18,197; sh: 545; makefile: 334; xml: 20
file content (79 lines) | stat: -rw-r--r-- 3,690 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
TODO LIST

Please send good ideas.

Next release (0.5x)
- compile-test dietlibc, TinyC tcc
  CC="diet -Os gcc -Wall -s -nostdinc" ./configure
- statistics foto vs. smoothing, follow neighbour pixels with max gradient
  to max and min (contrast? distance? number of max/min centers)
  for better (local) threshold
- 1/8^2 reduction for fast text array/image/line detection via statistics?
  (min. 5x7 font + 1pixel space)
- replace getTextLine-loop(line) by output_text() (libs have to use pipes) 
  simplify cod
- allow uppercase suffixes .JPG or .jpg
- get rid of global variable job_t *JOB
- make stderr silent for verbose=0 (using the libPgm2asc) see mail 2010-07-13
  add debug messages to a debugstring on object list?
  (clickable on XML front end)?
- quality test script for groups of samples (to ensure improvement in recognition)
  single chars or single chars in words, clean and difficult sets,
  formatted texts
  false negative + false positive
  start with numbers? option numbers only?
  output: find fname.{jpg,png} + fname.txt + compare output gocr against txt
  options: [testpath] [testchars]
  bin/gocr_chk.sh testbase/free/{clean,glued,dusty}/{numbers,text}/
  bin/gocr_chk.sh jocr/examples tmp09
- fix problem with cutting melted chars (using vector frames)
- better detection of agglutinated serifs (Gutenberg scans 086.png+171.png)
- vectorize recognition (big step!, relation to other OSS?)
  (find min distance to ideal vector patterns, start with <>())
- frame_nn is marking only the borders like frame_vector and removed later
- handle broken and glueed chars by the database algorithm (-m 256 -m 130) 
- improve get_line2(), implement distance_to_point and distance_to_line
- dot-matrix printouts (examples/matrix.jpg) (german: Nadeldrucker)
- examples/inverse.pcx + examples/rotate45.pcx by nearest-box-to-line alg.
  or mean nearest box (or its 4 edges) directions,
  rotate only boxes (by creating new greater boxes and tread as new image)
- proof replacement of getTextLine by getXMLline via pipe(?) or stdout
  is pipe available on all platforms?
- docu about ispell using via XML (what needed, test in gocr.tcl)
- replace rest of UNDEFINED in unicode.c by its correct strings
- add probability for box->m1..m4 (to reduce errors caused by bad line-scan)
  call line detection function second time to improve unsure line data

Next release (0.5x)
- reduce pixel data by vectorization (big change, faster)
- writing images through pipes (like reading)
- using dictionary (optional) for replacing not recognized chars
- Karsten.Hilbert@gmx.net: use ORChie WordBox-format
  see http://http.cs.berkeley.edu/~fateman/kathey/ocrchie.html
  aspell instead of ispell

Near future: (planned version)
- rewrite install-routine
- perspective distortion (for cameras)
- genetic algorithms engine (already in development, 0.8?). It includes
  feature extraction and classification
- support for other languages (may affect context_correction(), etc) (0.6?)
- support for diagramation. Can be done using the Unicode+new stuff. I (bbg)
  have some ideas.

Far future:
- gimp plugin
- color support
- Braille detection (usefull for blinds?)
  see: American Journal of Physics Vol. 70, No. 7, p 684-688 (2002)
  or use special foils
- read image in smaller parts, to reduce memory usage.
- frames should be recognized
- better distance function (comparision of characters)
- detection of orientation (i.a. 90,180,270deg rotation)
- picture extraction
- math formula detection, font type detection
- handwritten texts (blockletters)
   --- uff, really a lot of work ---
- Feel free and add your suggestions and wishes,
  or tell me, what is the most important point for you.