Commit graph

28 commits

Author SHA1 Message Date
Andrey Golovizin
79a1a95a43 Add table header. 2014-08-25 12:31:33 +02:00
Andrey Golovizin
8a875d90bd Implement deleting glyphs. 2014-08-25 12:14:08 +02:00
Andrey Golovizin
cf8575152e Display glyph images in the glyph editor. 2014-08-21 23:24:07 +02:00
Andrey Golovizin
08e4382b66 Add Image.toqimage(). 2014-08-21 23:20:30 +02:00
Andrey Golovizin
c32415d843 Add GLyphDBEditor (actually a viewer for now). 2014-08-21 22:47:57 +02:00
Andrey Golovizin
182a49b359 Move glyph database logic to picelocr.glyphdb. 2014-08-21 21:52:22 +02:00
Andrey Golovizin
5babd24450 Save glyph database on exit, load on startup. 2014-08-21 21:19:57 +02:00
Andrey Golovizin
a929d1011b Accept a single directory argument on the command line. 2014-08-21 21:09:01 +02:00
Andrey Golovizin
6d824a46d6 Scroll to highlighted glyphs. 2014-08-18 17:52:39 +02:00
Andrey Golovizin
ae20b22229 Do not center on new pages (preserve current position instead). 2014-08-18 17:48:13 +02:00
Andrey Golovizin
d54c28fbc1 Make PageView properly update its scroll position when a new page is displayed. 2014-08-18 17:47:50 +02:00
Andrey Golovizin
ada771b5c9 Rename Letter to Glyph. 2014-08-18 15:44:36 +02:00
Andrey Golovizin
c5cb68f063 Implement basic learning mode. 2014-08-15 18:10:49 +02:00
Andrey Golovizin
08a6d004e7 Add OCREngine class. 2014-08-15 18:09:28 +02:00
Andrey Golovizin
6c3c93a39d Add GlyphEdit class. 2014-08-15 18:09:20 +02:00
Andrey Golovizin
34d7d123d1 Strip trailing spaces from license headers. 2014-08-15 16:47:23 +02:00
Andrey Golovizin
f9be7be65e Tweak display colors. 2014-08-15 14:42:07 +02:00
Andrey Golovizin
ce4252e361 Split lines into letters according to letter distances, ditch page.Word. 2014-08-15 14:25:02 +02:00
Andrey Golovizin
4ff37720d9 Use x, y, top, bottom instead of x1, y1, x2, y2. Add aliases: left=x, top=y. 2014-08-13 22:43:55 +02:00
Andrey Golovizin
360ed844c2 Use absolute coordinates in Line.baseline. 2014-08-13 20:25:01 +02:00
Andrey Golovizin
cd4aec6f11 GUI: make Ctrl-C in console work. 2014-08-13 20:00:10 +02:00
Andrey Golovizin
e3217d28b8 Make baseline be exactly _below_ the letter.
The letter now "sits" on the baseline. This is to make indexing more convenient.
2014-08-13 19:53:29 +02:00
Andrey Golovizin
37c38cb9b2 Correct the dimensions of displayed letter boxes. 2014-08-13 18:01:17 +02:00
Andrey Golovizin
7ce6fa42c1 Add Line.baseline property. 2014-08-13 15:30:04 +02:00
Andrey Golovizin
9155905398 Remove extra margins from GUI. 2014-08-12 20:28:28 +02:00
Andrey Golovizin
b05cc3853e Use connected-component labeling for finding letters. 2014-08-12 18:20:45 +02:00
Andrey Golovizin
74570e6760 Organize imports. 2014-08-10 23:07:53 +02:00
Andrey Golovizin
e9f034f54b Add proof-of-concept GUI. 2014-08-10 22:57:08 +02:00