diff --git a/README b/README index 3971d36..c70f3b2 100644 --- a/README +++ b/README @@ -2,3 +2,5 @@ PWNTCHA - Pretend We're Not a Turing Computer but a Human Antagonist This is research software. It comes with absolutely no warranty. +Papers: +http://yann.lecun.com/exdb/publis/index.html diff --git a/configure.ac b/configure.ac index c456a41..5c6492d 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ AC_PREREQ(2.50) AC_CONFIG_AUX_DIR(autotools) AC_CANONICAL_SYSTEM -AM_INIT_AUTOMAKE(pwntcha, 0.3) +AM_INIT_AUTOMAKE(pwntcha, 0.4) AM_CONFIG_HEADER(config.h) AC_PROG_CC diff --git a/src/lmt.c b/src/lmt.c index 7aea16a..580f4d2 100644 --- a/src/lmt.c +++ b/src/lmt.c @@ -34,6 +34,8 @@ char *decode_lmt(struct image *img) tmp = image_dup(img); filter_contrast(tmp); filter_black_stuff(tmp); + filter_smooth(tmp); + filter_median(tmp); find_glyphs(tmp); image_free(tmp); @@ -54,6 +56,7 @@ static void find_glyphs(struct image *img) { font = font_load_variable("font_freesans_24_09AZ.bmp", "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"); + filter_smooth(font->img); if(!font) exit(1); }