瀏覽代碼

* improved lmt filter (98% efficiency).

* bumped version to 0.4.


git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/pwntcha/trunk@461 92316355-f0b4-4df1-b90c-862c8a59935f
master
sam 20 年之前
父節點
當前提交
895d59028e
共有 3 個檔案被更改,包括 6 行新增1 行删除
  1. +2
    -0
      README
  2. +1
    -1
      configure.ac
  3. +3
    -0
      src/lmt.c

+ 2
- 0
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

+ 1
- 1
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


+ 3
- 0
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);
}


Loading…
取消
儲存