Andrey Golovizin
|
7fab8328df
|
Increase minimum line height.
|
2014-08-26 20:27:50 +02:00 |
|
Andrey Golovizin
|
c50dae03a8
|
Do not unframe images.
|
2014-08-26 20:23:33 +02:00 |
|
Andrey Golovizin
|
9410952111
|
Increase minimal distance between words.
|
2014-08-26 20:23:06 +02:00 |
|
Andrey Golovizin
|
e3a7d65ef5
|
Ensure the top-left corner is visible when displaying a new page.
|
2014-08-26 18:24:07 +02:00 |
|
Andrey Golovizin
|
03a481d3a2
|
Limit maximal optical correction to prevent splitting glyph pairs like Го.
|
2014-08-26 18:23:28 +02:00 |
|
Andrey Golovizin
|
8bc5f06772
|
Use morphological closing along the x-axis to enhance baseline detection.
|
2014-08-26 17:56:34 +02:00 |
|
Andrey Golovizin
|
cb25753a75
|
Increase detection window for above-letter diacritics.
|
2014-08-26 17:42:38 +02:00 |
|
Andrey Golovizin
|
a56fa55709
|
Disable overlap check in image.combine().
|
2014-08-26 17:41:22 +02:00 |
|
Andrey Golovizin
|
038e4f06e9
|
Consider minimum line height when splitting lines.
|
2014-08-26 17:29:40 +02:00 |
|
Andrey Golovizin
|
85180a4ec1
|
Fix broken Glyph.optical_distance().
|
2014-08-26 17:14:54 +02:00 |
|
Andrey Golovizin
|
8c7bf2c380
|
Take optical distance into account when splitting lines.
|
2014-08-26 17:23:07 +02:00 |
|
Andrey Golovizin
|
ee6aca6c80
|
Move Image._iter_lines() to Page class.
|
2014-08-26 17:09:52 +02:00 |
|
Andrey Golovizin
|
22f5c5e2b1
|
Add Line.optical_distance().
|
2014-08-26 17:02:03 +02:00 |
|
Andrey Golovizin
|
91f24da142
|
Move Glyph._optical_correction() to PageObject class.
|
2014-08-26 17:00:27 +02:00 |
|
Andrey Golovizin
|
2b71b52174
|
Remove mistakenly added broken code.
|
2014-08-26 17:00:01 +02:00 |
|
Andrey Golovizin
|
53b27ee883
|
Use optical distance correction when detecting apostrophes.
|
2014-08-25 17:35:34 +02:00 |
|
Andrey Golovizin
|
fac5d738a7
|
Add Glyph.optical_distance().
|
2014-08-25 16:59:19 +02:00 |
|
Andrey Golovizin
|
49db236899
|
Glyph.detect_diacritic(): adjust apostrophe window.
|
2014-08-25 16:56:09 +02:00 |
|
Andrey Golovizin
|
e55b66ddd6
|
Avoid unnecessary conversions in Image.bitmap to make it faster.
|
2014-08-25 16:43:53 +02:00 |
|
Andrey Golovizin
|
00508d1919
|
Remove unneeded conversion from int to float.
|
2014-08-25 16:37:36 +02:00 |
|
Andrey Golovizin
|
6a3f8b3143
|
Remove unneeded code.
|
2014-08-25 16:36:44 +02:00 |
|
Andrey Golovizin
|
ead1751ed1
|
Display glyph elevation in glyph DB editor.
|
2014-08-25 16:29:31 +02:00 |
|
Andrey Golovizin
|
d2567ea409
|
Rename glypheditor to glyphdbedit.
|
2014-08-25 16:25:00 +02:00 |
|
Andrey Golovizin
|
3ed91dff53
|
Rewrite diacritic detection code, apostrophes are now detected correctly.
|
2014-08-25 16:23:17 +02:00 |
|
Andrey Golovizin
|
c5d04ff6aa
|
Add Image.fits() and PageObject.fits().
|
2014-08-25 16:22:01 +02:00 |
|
Andrey Golovizin
|
00a6b14e4c
|
Show baselines in GUI.
|
2014-08-25 16:21:08 +02:00 |
|
Andrey Golovizin
|
9b8a52e4c0
|
Line._combine_diacritics(): do not lose freestanding diacritic-like symbols.
|
2014-08-25 16:02:26 +02:00 |
|
Andrey Golovizin
|
7c6faa6acd
|
Decrease minimal line interval.
|
2014-08-25 16:01:29 +02:00 |
|
Andrey Golovizin
|
dd847b4e98
|
Tweak diacritic detection to include ? and ! characters.
|
2014-08-25 15:30:28 +02:00 |
|
Andrey Golovizin
|
4f621493e5
|
Line.baseline: fix detecting baselines at image boundaries.
|
2014-08-25 15:30:10 +02:00 |
|
Andrey Golovizin
|
6d2a6b325b
|
Use ordered dict for storing glyphs.
|
2014-08-25 15:29:01 +02:00 |
|
Andrey Golovizin
|
4f435b3a38
|
Tweac diacritic detection: decrease right-side detection window.
|
2014-08-25 14:04:09 +02:00 |
|
Andrey Golovizin
|
fa4e76e256
|
Show filename in window title.
|
2014-08-25 13:57:49 +02:00 |
|
Andrey Golovizin
|
4bb1513cd9
|
Fix a typo.
|
2014-08-25 13:52:24 +02:00 |
|
Andrey Golovizin
|
9322bc1283
|
Open image files in alphabetical order.
|
2014-08-25 13:49:31 +02:00 |
|
Andrey Golovizin
|
ce11d6e097
|
Tweak diacritic detection: diacritic should not be below letter top.
|
2014-08-25 13:49:16 +02:00 |
|
Andrey Golovizin
|
ad3fffd7bc
|
Disable score-based dicritic detection, use the first matching body.
|
2014-08-25 13:41:03 +02:00 |
|
Andrey Golovizin
|
a7f2c332ca
|
Fix Line._combine_diacritics(): the first 5 glyphs were not examined.
|
2014-08-25 13:26:01 +02:00 |
|
Andrey Golovizin
|
34f58f0471
|
Plug glyph db editor into the main menu.
|
2014-08-25 13:12:36 +02:00 |
|
Andrey Golovizin
|
95b0c62927
|
Add main menu.
|
2014-08-25 12:52:48 +02:00 |
|
Andrey Golovizin
|
603d860a2c
|
Remove debug print.
|
2014-08-25 12:39:11 +02:00 |
|
Andrey Golovizin
|
e7b9571377
|
Implement glyph sorting.
|
2014-08-25 12:38:59 +02:00 |
|
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
|
48b179e2e0
|
Use color images as dictionary keys, not bitmaps.
|
2014-08-21 23:11:31 +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
|
9656abe9b2
|
Attach diacritic to the closest body if multiple possibilities found.
|
2014-08-21 21:40:37 +02:00 |
|