* scribo/src/contest/table-2013/Makefile.am,
* scribo/src/contest/table-2013/README:
New.
* scribo/src/contest/table-2013/Makefile,
* scribo/src/contest/table-2013/README_ROLAND:
Remove.
* scribo/src/contest/Makefile.am (SUBDIRS): Add table-2013.
---
scribo/src/contest/Makefile.am | 3 +-
scribo/src/contest/table-2013/Makefile | 27 ----------
.../nepomuk => contest/table-2013}/Makefile.am | 44 ++++++++--------
scribo/src/contest/table-2013/README | 54 ++++++++++++++++++++
scribo/src/contest/table-2013/README_ROLAND | 18 -------
5 files changed, 77 insertions(+), 69 deletions(-)
delete mode 100644 scribo/src/contest/table-2013/Makefile
copy scribo/src/{toolchain/nepomuk => contest/table-2013}/Makefile.am (52%)
create mode 100644 scribo/src/contest/table-2013/README
delete mode 100644 scribo/src/contest/table-2013/README_ROLAND
diff --git a/scribo/src/contest/Makefile.am b/scribo/src/contest/Makefile.am
index b69291e..2a7e21c 100644
--- a/scribo/src/contest/Makefile.am
+++ b/scribo/src/contest/Makefile.am
@@ -20,4 +20,5 @@ include $(top_srcdir)/scribo/scribo.mk
SUBDIRS = \
DAE-2011 \
hdibco-2010 \
- hdlac-2011
+ hdlac-2011 \
+ table-2013
diff --git a/scribo/src/contest/table-2013/Makefile
b/scribo/src/contest/table-2013/Makefile
deleted file mode 100644
index baa9ae1..0000000
--- a/scribo/src/contest/table-2013/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-CCACHE=ccache
-CC=g++
-CFLAGS=-Wall -Werror -O3 -DHAVE_TESSERACT_3 -DNDEBUG -DMLN_WO_GLOBAL_VARS
-CFLAGS_OLD=-Wall -Werror -O3 -DHAVE_TESSERACT_3 -DNDEBUG
-CLIBS=-I../../../milena/ -I../../ -I/usr/include/poppler
-CLEAN=*.o output/* log final.xml
-
-SRC=src/xml.cc src/new.cc
-SRC_OLD=src/main.cc
-OUTPUT=table
-OUTPUT_OLD=old
-
-all: table
-
-table:
- $(CCACHE) $(CC) $(CFLAGS) $(CLIBS) $(SRC) -ltesseract -lpoppler-cpp -o $(OUTPUT)
-
-old:
- $(CCACHE) $(CC) $(CFLAGS_OLD) $(CLIBS) $(SRC_OLD) -ltesseract -lpoppler-cpp -o
$(OUTPUT_OLD)
-
-clean:
- rm -rf $(CLEAN)
-
-mrproper: clean
- rm -f $(OUTPUT) $(OUTPUT_OLD)
-
-.PHONY: table clean mrproper
diff --git a/scribo/src/toolchain/nepomuk/Makefile.am
b/scribo/src/contest/table-2013/Makefile.am
similarity index 52%
copy from scribo/src/toolchain/nepomuk/Makefile.am
copy to scribo/src/contest/table-2013/Makefile.am
index 03f0e01..50162a5 100644
--- a/scribo/src/toolchain/nepomuk/Makefile.am
+++ b/scribo/src/contest/table-2013/Makefile.am
@@ -1,5 +1,4 @@
-# Copyright (C) 2010, 2011, 2013 EPITA Research and Development Laboratory
-# (LRDE).
+# Copyright (C) 2013 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
@@ -17,29 +16,28 @@
include $(top_srcdir)/scribo/scribo.mk
-noinst_PROGRAMS =
+all-local:
+ test -d output || mkdir output
-if HAVE_QT
-if HAVE_MAGICKXX
+EXTRA_DIST = README TODO originals/competition-entry-region-model.xsd
+
+if HAVE_POPPLER
if HAVE_TESSERACT
-noinst_PROGRAMS += \
-text_extraction
-
-text_extraction_CPPFLAGS = $(AM_CPPFLAGS) \
- $(MAGICKXX_CPPFLAGS) \
- $(TESSERACT_CPPFLAGS) \
- $(TIFF_CPPFLAGS) \
- $(QT_CPPFLAGS) \
- -I$(top_builddir)
-text_extraction_LDFLAGS = $(AM_LDFLAGS) \
- $(MAGICKXX_LDFLAGS) \
- $(TESSERACT_LDFLAGS) \
- $(TIFF_LDFLAGS) \
- $(QT_LDFLAGS) \
- $(QT_LIBS) \
- -lpthread
+AM_CPPFLAGS += $(POPPLER_CPPFLAGS) $(TESSERACT_CPPFLAGS)
+AM_CXXFLAGS += -Wall -Werror -O3 -DNDEBUG -DMLN_WO_GLOBAL_VARS
+AM_LDFLAGS = $(POPPLER_LDFLAGS) $(TESSERACT_LDFLAGS)
+
+noinst_PROGRAMS = table old
+
+table_SOURCES = src/disjoint_set.hh src/xml.hh src/xml.cc src/new.cc
+table_CXXFLAGS = $(AM_CXXFLAGS) -DMLN_WO_GLOBAL_VARS
+old_SOURCES = src/main.cc
endif HAVE_TESSERACT
-endif HAVE_MAGICKXX
-endif HAVE_QT
\ No newline at end of file
+endif HAVE_POPPLER
+
+CLEANFILES = log final.xml
+
+clean-local:
+ -rm -rf output
diff --git a/scribo/src/contest/table-2013/README b/scribo/src/contest/table-2013/README
new file mode 100644
index 0000000..7e2d18c
--- /dev/null
+++ b/scribo/src/contest/table-2013/README
@@ -0,0 +1,54 @@
+* Conference
+ICDAR 2013
+
+* Contest
+Table Competition (location and structure recognition)
+
+* Description
+The problems of table detection and table structure recognition in
+documents have attracted much interest not only from the document
+analysis community, but also from the database and information
+extraction (IE) communities. Whereas traditional methods have worked
+on scanned images of pages, a number of approaches from related fields
+have used natively-digital document formats. The choice of
+born-digital PDF as the format for this competition is designed to
+unify both types of approaches, and the objective of this competition
+is to measure the state of the art and compare the relative advantages
+of both types of approach.
+
+This competition is split up into two sub-competitions, table
+detection or location and table structure recognition. Entrants may
+choose to enter either one, or both, sub-competitions. In a previous
+publication, we proposed document-generic models for both of these
+procedures and generated a publicly available, ground-truthed dataset.
+The format for the ground truth, as well as methods for numerically
+comparing an algorithm's result to the ground truth, are also
+described in this paper.
+
+This dataset serves as the example dataset, against which all entries
+can be tested before submission. Entries will be evaluated using the
+methods described in the paper. Our paper also describes the
+functional analysis of tables; this does not form part of the present
+competition.
+
+* URL
+http://www.tamirhassan.com/competition.html
+
+* Source code
+
+Compilation and cleaning :
+ * make (generates the main program)
+ * make old (generates the old program (without scribo toolchain))
+ * make clean (remove all files expect the binary)
+
+Usage :
+ * ./table [your-pdf-file]
+ Generate debug images in the output/ directory and the final.xml
+ * ./old [your-pdf-file]
+ Same thing but old processing (without scribo toolchain)
+
+
+Local Variables:
+mode: outline
+ispell-local-dictionary: "american"
+End:
diff --git a/scribo/src/contest/table-2013/README_ROLAND
b/scribo/src/contest/table-2013/README_ROLAND
deleted file mode 100644
index 89b70dc..0000000
--- a/scribo/src/contest/table-2013/README_ROLAND
+++ /dev/null
@@ -1,18 +0,0 @@
-#------------------------------------------------------------------------------#
- README - ICDAR 2013 - Table competition
-#------------------------------------------------------------------------------#
-
-FIRST OF ALL :
- * mkdir output
-
-Compilation and cleaning :
- * make (generates the main program)
- * make old (generates the old program (without scribo toolchain))
- * make clean (remove all files expect the binary)
- * make mrproper (remove all files)
-
-Usage :
- * ./table [your-pdf-file]
- Generate debug images in the output/ directory and the final.xml
- * ./old [your-pdf-file]
- Same thing but old processing (without scribo toolchain)
--
1.7.2.5
Show replies by date