48 Commits

Author SHA1 Message Date
3ee25c4d0c Switch to JSON rendering frontend 2015-08-27 00:02:20 -04:00
c85e70034a Add hardcoded colors list 2015-08-25 11:45:13 -04:00
7320a7d019 Rename getchar.py to main.py 2015-08-24 11:13:19 -04:00
95eb860b55 Maintain a stroke adjacency list 2015-08-24 11:12:04 -04:00
23fe31a14d Suppress unnecessary print statements and logging 2015-08-23 22:32:20 -04:00
eaa397c573 Move median algorithm out into separate file 2015-08-23 17:34:33 -04:00
0f7128410e Distance based tweaks to median finding 2015-08-23 01:00:22 -04:00
bbbc957e22 Use angle bisector to smooth median 2015-08-23 00:54:37 -04:00
10b2eb3ecb Improve documentation for median computation 2015-08-23 00:36:11 -04:00
77ea8f8807 Pull out path area function 2015-08-23 00:18:17 -04:00
2325cf6cb1 Drop shapely library and speed up code 2015-08-23 00:09:02 -04:00
720d4f41ea Start work on medial-line detection algorithm 2015-08-22 20:47:10 -04:00
7c634baf7c Factor out StrokeExtractor class into separate file 2015-08-22 19:34:53 -04:00
3466fe0725 Finish documenting corner+bridge extraction algorithm 2015-08-22 17:27:23 -04:00
0e8df9e50d Switch to corners at the start of their stroke elements 2015-08-22 17:27:23 -04:00
3b56e98aac Switch to standard CCW glyph orientation 2015-08-22 09:43:21 -04:00
7238f9e79f Use glyph-orientation assumption in classifier 2015-08-20 03:30:24 -04:00
c1102bd3f2 Minor cleanups in various corner code 2015-08-20 02:51:57 -04:00
15e986be9c Add documentation for bridge detection algorithm 2015-08-20 02:41:25 -04:00
75020a14ac Improve corner merging algorithm 2015-08-20 02:26:21 -04:00
ad8cdc4567 Clean up corner merging function 2015-08-20 01:51:23 -04:00
4675887318 Start work on stroke-extraction code cleanup 2015-08-20 01:23:22 -04:00
78a7e503fa Reverse paths to enforce CCW glyph orientation 2015-08-20 01:09:28 -04:00
6bd3e30a61 Minor pruning of bad corners 2015-08-19 21:12:18 -04:00
6e3a36cde8 Get hacky stroke extraction post-bridge-detection working 2015-08-19 02:20:24 -04:00
4fae49e673 Drop reverse connections due to TTF handedness constraint 2015-08-19 00:54:46 -04:00
05f61df9a6 Rename 'cusps' to 'corners' and 'edges' to 'bridges' 2015-08-18 23:57:14 -04:00
96b806b8b9 Some cleanup removing poor hand-crafted rules 2015-08-18 23:01:49 -04:00
d42e70d174 Allow some narrowing at cross stroke ends 2015-08-17 12:00:18 -04:00
7cc924a2cf Add code to drop middle and long, splittable edges 2015-08-17 11:42:33 -04:00
ad4ec0bdbc Add triangle removal logic 2015-08-17 10:52:10 -04:00
b09530dfcb Try an alternate classifier 2015-08-17 00:06:41 -04:00
17c947c03f Set up for data collectiong 2015-08-16 23:27:25 -04:00
7ec8e70a2d Add cusp merging logic 2015-08-16 23:02:47 -04:00
64342fe899 Tweak hand-tuned classifier slightly 2015-08-16 22:30:33 -04:00
0570efa815 Drop uming.svg during testing 2015-08-16 22:11:20 -04:00
f179754347 Get hacky cusp classifier working 2015-08-16 20:52:32 -04:00
00f09f8f43 Get cusp detection mostly working 2015-08-16 20:11:29 -04:00
d69f0e608e Get distance heuristic for segmentation working 2015-08-16 17:27:55 -04:00
a17ce383d6 Get basic glyph augmentation working 2015-08-16 16:41:03 -04:00
d194e59afd Switch to SVG parsing library 2015-08-16 16:00:46 -04:00
97d3ac8aaa Implement part of an SVG path parser 2015-08-16 15:47:35 -04:00
5a08d39b32 Switch to Arphic fonts and add license 2015-08-15 18:53:11 -04:00
3bf522f9c3 Start work on decoding SVG data 2015-08-15 18:41:39 -04:00
0a77e03675 Drop font with extra radicals 2015-08-15 14:08:22 -04:00
f0f2477b88 Add script to extract characters 2015-08-15 13:41:54 -04:00
d2a5bee9af Add script to convert fonts to SVG 2015-08-15 12:42:05 -04:00
329e0d9984 Start work on font stroke extraction 2015-08-15 12:29:58 -04:00