This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Olena, a generic and efficient image processing platform".
The branch distribute-scribo has been updated
via a73e820e40678a7b1ce37e134766b854322fc11e (commit)
from 9d6e03f2dc8fc61320aae6d0eca1766b10b3611b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
a73e820 src/Makefile.am (CLEANFILES): Fix invalid variable name.
-----------------------------------------------------------------------
Summary of changes:
scribo/ChangeLog | 4 ++++
scribo/src/Makefile.am | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
Olena, a generic and efficient image processing platform
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Olena, a generic and efficient image processing platform".
The branch exp/scribo-z has been updated
via 4a2bb958c2a6159916a7e943a655f3b65184d3d3 (commit)
via 41318782a928e2ff9d3b0fbf46e432658e289d6e (commit)
via 5e6b26dcba53c84a5ccdc8deb719a21647d91e8c (commit)
via 59dededb8e58c6baf67bf1f43a039ffc32840c08 (commit)
via de89d9cc0d3bd2b1bb375e5a9b4bcc439d5cc6ca (commit)
from 4515a1dc6803595b389196a908ed01c18c63a804 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
No new revisions were added by this update.
-----------------------------------------------------------------------
Summary of changes:
milena/ChangeLog | 4 +
milena/mln/labeling/compute.hh | 14 ++
scribo/ChangeLog | 31 ++++
scribo/headers.mk | 1 +
scribo/scribo/binarization/sauvola_ms.hh | 28 ++--
.../scribo/binarization/sauvola_threshold_image.hh | 9 +-
scribo/scribo/preprocessing/deskew.hh | 7 +-
scribo/scribo/subsampling/integral_single_image.hh | 7 +-
scribo/scribo/toolchain/text_in_doc_preprocess.hh | 152 ++++++++++++++++++++
.../{ppm_fg_sauvola_ms.cc => ppm_sauvola_ms_fg.cc} | 0
.../{fg_sauvola_ms.cc => sauvola_ms_fg.cc} | 0
scribo/src/text_in_doc_preprocess.cc | 41 ++----
12 files changed, 241 insertions(+), 53 deletions(-)
create mode 100644 scribo/scribo/toolchain/text_in_doc_preprocess.hh
rename scribo/src/binarization/{ppm_fg_sauvola_ms.cc => ppm_sauvola_ms_fg.cc} (100%)
rename scribo/src/binarization/{fg_sauvola_ms.cc => sauvola_ms_fg.cc} (100%)
hooks/post-receive
--
Olena, a generic and efficient image processing platform
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Olena, a generic and efficient image processing platform".
The branch distribute-scribo has been updated
discards dca41a34768ed67ea7a32c51742d3ae502bd12f2 (commit)
discards f75a6a28e9daa1d86f7988449ab8409eb4d2de3a (commit)
discards 947f6e451ca08a9c55e780da8795ae2b50987af1 (commit)
discards 8464d5567563b91c8c58a8a2214f3a8c5a8ab64f (commit)
via 9d6e03f2dc8fc61320aae6d0eca1766b10b3611b (commit)
via 330d20be0d0be1488add27f82a546263b2d191e3 (commit)
via e23121549516d2c6ec01f47c834d93900c332866 (commit)
via 01b0be04ac4abb7739b9ebc415cc95c997a36937 (commit)
via 8d50316b6cef7a40f53cbeee1534f2bc0151a7e5 (commit)
via 86afde11be03ca0f23630b97d9b9797228b6dabd (commit)
via eeb2374b8ab58b8e8ad3edcf745573b96c96dcc6 (commit)
via dce59ecf2488784f4c403f9704f213f2ee25af06 (commit)
via 4a2bb958c2a6159916a7e943a655f3b65184d3d3 (commit)
via 41318782a928e2ff9d3b0fbf46e432658e289d6e (commit)
via 5e6b26dcba53c84a5ccdc8deb719a21647d91e8c (commit)
via 59dededb8e58c6baf67bf1f43a039ffc32840c08 (commit)
via de89d9cc0d3bd2b1bb375e5a9b4bcc439d5cc6ca (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (dca41a34768ed67ea7a32c51742d3ae502bd12f2)
\
N -- N -- N (9d6e03f2dc8fc61320aae6d0eca1766b10b3611b)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
9d6e03f Add scribo-cli script.
330d20b Setup what to install with Scribo.
e231215 Make use of autotroll in demo/review.
01b0be0 Install Scribo headers in include/scribo.
8d50316 tests/Makefile.am (EXTRA_DIST): Fix path to files.
86afde1 tests/Makefile.am (EXTRA_DIST): Add new files.
eeb2374 Re-enable 'table' directory in SUBDIRS.
dce59ec Distribute Scribo.
4a2bb95 mln/labeling/compute.hh: Add a missing overload in dispatch.
4131878 Rename examples.
5e6b26d headers.mk: Regen.
59deded Add a preprocessing toolchain.
de89d9c Fix namespace ambiguities.
-----------------------------------------------------------------------
Summary of changes:
milena/ChangeLog | 4 +
milena/mln/labeling/compute.hh | 14 ++
scribo/ChangeLog | 83 +++++++++++
scribo/Makefile.am | 4 +-
scribo/demo/review/Makefile.am | 44 +++++-
scribo/demo/review/review.pro | 16 --
scribo/demo/review/src/mainwindow.cc | 7 +-
scribo/demo/review/src/mainwindow.hh | 2 +-
scribo/demo/viewer/Makefile.am | 72 +++++-----
scribo/headers.mk | 7 +-
scribo/scribo.mk | 2 +
scribo/scribo/binarization/sauvola_ms.hh | 28 ++--
.../scribo/binarization/sauvola_threshold_image.hh | 9 +-
scribo/scribo/preprocessing/deskew.hh | 7 +-
scribo/scribo/subsampling/integral_single_image.hh | 7 +-
scribo/scribo/toolchain/text_in_doc_preprocess.hh | 152 ++++++++++++++++++++
scribo/src/Makefile.am | 29 +++-
scribo/src/binarization/Makefile.am | 66 +++++----
.../{ppm_fg_sauvola_ms.cc => ppm_sauvola_ms_fg.cc} | 0
.../{fg_sauvola_ms.cc => sauvola_ms_fg.cc} | 0
scribo/src/contest/hdibco-2010/Makefile.am | 2 +-
scribo/src/debug/Makefile.am | 6 +-
scribo/src/filter/Makefile.am | 5 +-
scribo/src/misc/Makefile.am | 5 +-
scribo/src/postprocessing/Makefile.am | 2 +-
scribo/src/preprocessing/Makefile.am | 61 ++++-----
scribo/src/primitive/extract/Makefile.am | 5 +-
scribo/src/primitive/find/Makefile.am | 5 +-
scribo/src/primitive/group/Makefile.am | 2 +-
scribo/src/scribo-cli.in | 135 +++++++++++++++++
scribo/src/table/Makefile.am | 7 +-
scribo/src/text/Makefile.am | 9 +-
scribo/src/text_in_doc_preprocess.cc | 41 ++----
33 files changed, 625 insertions(+), 213 deletions(-)
delete mode 100644 scribo/demo/review/review.pro
create mode 100644 scribo/scribo/toolchain/text_in_doc_preprocess.hh
rename scribo/src/binarization/{ppm_fg_sauvola_ms.cc => ppm_sauvola_ms_fg.cc} (100%)
rename scribo/src/binarization/{fg_sauvola_ms.cc => sauvola_ms_fg.cc} (100%)
create mode 100755 scribo/src/scribo-cli.in
hooks/post-receive
--
Olena, a generic and efficient image processing platform
* src/Makefile.am: Add new rules to generate scribo-cli.
* src/scribo-cli.in: New.
---
scribo/ChangeLog | 8 +++
scribo/src/Makefile.am | 19 +++++++
scribo/src/scribo-cli.in | 135 ++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 162 insertions(+), 0 deletions(-)
create mode 100755 scribo/src/scribo-cli.in
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 3531f05..95e0a35 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,5 +1,13 @@
2010-08-26 Guillaume Lazzara <z(a)lrde.epita.fr>
+ Add scribo-cli script.
+
+ * src/Makefile.am: Add new rules to generate scribo-cli.
+
+ * src/scribo-cli.in: New.
+
+2010-08-26 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Setup what to install with Scribo.
* demo/viewer/Makefile.am: Do not install includes.
diff --git a/scribo/src/Makefile.am b/scribo/src/Makefile.am
index 4690f9f..ed458cd 100644
--- a/scribo/src/Makefile.am
+++ b/scribo/src/Makefile.am
@@ -84,3 +84,22 @@ if HAVE_TESSERACT
endif HAVE_TESSERACT
endif HAVE_MAGICKXX
+
+
+# Generated by configure from scribo-cli.in.
+dist_bin_SCRIPTS = scribo-cli
+
+do_subst = sed -e 's|@utilexecdir[@]|$(utilexecdir)|g'
+
+scribo-cli: $(srcdir)/scribo-cli.in Makefile
+ rm -f $@ $@.tmp
+ srcdir=''; \
+ test -f ./$@.in || srcdir=$(srcdir)/; \
+ $(do_subst) $${srcdir}$@.in >$@.tmp
+ chmod +x $@.tmp
+ chmod a-w $@.tmp
+ mv $@.tmp $@
+
+CLEANFILES = $(bin_SCRIPTS)
+
+EXTRA_DIST = scribo-cli.in
diff --git a/scribo/src/scribo-cli.in b/scribo/src/scribo-cli.in
new file mode 100755
index 0000000..e271810
--- /dev/null
+++ b/scribo/src/scribo-cli.in
@@ -0,0 +1,135 @@
+# Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+#
+#!/bin/sh
+
+bdir="@utilexecdir@"
+bin=`basename $0`
+
+version()
+{
+ cat <<EOF
+SCRIBO Command LIne tool, version 1.0
+Copyright (C) 2010 LRDE/EPITA
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+EOF
+}
+
+usage()
+{
+ cat <<EOF
+Usage: $bin [version] [help] COMMAND [ARGS]
+
+List of available COMMAND argument:
+
+ Full Toolchains
+ ---------------
+
+
+ * On documents
+
+ doc-ppc Common preprocessing before looking for text.
+
+ doc-ocr Find and recognize text.
+
+
+
+ * On pictures
+
+ pic-loc Try to localize text if there's any.
+
+ pic-ocr Localize and try to recognize text.
+
+
+ Algorithms
+ ----------
+
+
+ * Binarization
+
+ sauvola Sauvola's algorithm.
+
+ sauvola-ms Multi-scale Sauvola's algorithm.
+
+ sauvola-ms-fg Extract foreground objects and run multi-scale
+ Sauvola's algorithm.
+
+ sauvola-ms-split Run multi-scale Sauvola's algorithm on each color
+ component and merge results.
+
+---------------------------------------------------------------------------
+See '$bin COMMAND --help' for more information on a specific command.
+EOF
+}
+
+
+run_cmd()
+{
+ cmd="$1";
+ shift;
+
+ case $cmd in
+
+ doc-ppc)
+ $bdir/text_in_doc_preprocess $@
+ ;;
+
+ doc-ocr)
+ $bdir/pbm_text_in_doc $@
+ ;;
+
+ pic-loc)
+ $bdir/text_in_picture $@
+ ;;
+
+ pic-ocr)
+ $bdir/text_recognition_in_picture $@
+ ;;
+
+ *)
+ cmd_bin=`echo $cmd | sed -e 's/-/_/g'`
+ if test -f $bdir/$cmd_bin; then
+ $bdir/$cmd_bin $@
+ else
+ echo "Error: Invalid command!"
+ usage
+ fi
+ esac
+}
+
+
+case $1 in
+
+ version | --version)
+ version
+ ;;
+
+
+ help | --help)
+
+ usage
+ ;;
+
+ help)
+
+ ;;
+
+ *)
+ run_cmd $1
+ ;;
+
+esac
--
1.5.6.5
* demo/review/Makefile.am: Make use of autotroll.
* demo/review/src/mainwindow.cc: Remove useless includes.
* demo/review/src/mainwindow.hh: Update include.
* demo/review/review.pro: Remove since useless.
---
scribo/ChangeLog | 12 +++++++++
scribo/demo/review/Makefile.am | 45 ++++++++++++++++++++++++++++-----
scribo/demo/review/review.pro | 16 ------------
scribo/demo/review/src/mainwindow.cc | 7 +----
scribo/demo/review/src/mainwindow.hh | 2 +-
5 files changed, 53 insertions(+), 29 deletions(-)
delete mode 100644 scribo/demo/review/review.pro
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 119f9f0..9379bf0 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,5 +1,17 @@
2010-08-26 Guillaume Lazzara <z(a)lrde.epita.fr>
+ Make use of autotroll in demo/review.
+
+ * demo/review/Makefile.am: Make use of autotroll.
+
+ * demo/review/src/mainwindow.cc: Remove useless includes.
+
+ * demo/review/src/mainwindow.hh: Update include.
+
+ * demo/review/review.pro: Remove since useless.
+
+2010-08-26 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Install Scribo headers in include/scribo.
* Makefile.am: Update call to generate_dist_headers.sh.
diff --git a/scribo/demo/review/Makefile.am b/scribo/demo/review/Makefile.am
index b51084e..cd793db 100644
--- a/scribo/demo/review/Makefile.am
+++ b/scribo/demo/review/Makefile.am
@@ -1,11 +1,42 @@
-## Process this file through Automake to create Makefile.in.
+# Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
+# (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
-include $(top_srcdir)/scribo/scribo.mk
+include $(top_srcdir)/build-aux/autotroll.mk
-.PHONY : demo
+bin_PROGRAMS = scribo-review
+scribo_review_SOURCES = $(BUILT_SOURCES) \
+ src/main.cc \
+ src/mainwindow.cc
-Makefile.demo:
- qmake-qt4 $(srcdir)/demo/demo.pro -o Makefile.demo
+scribo_review_CPPFLAGS = $(QT_CPPFLAGS) $(AM_CPPFLAGS) \
+ -DNDEBUG \
+ -I$(srcdir) \
+ -I$(builddir)/ui
+scribo_review_CXXFLAGS = $(QT_CXXFLAGS) $(AM_CXXFLAGS) -O3
+scribo_review_LDFLAGS = $(QT_LDFLAGS) $(LDFLAGS)
+scribo_review_LDADD = $(QT_LIBS) $(LDADD)
-demo: Makefile.demo
- make -f Makefile.demo all
+BUILT_SOURCES = src/mainwindow.moc.cc \
+ ui/mainwindow.ui.h
+
+noinst_HEADERS = src/mainwindow.hh
+
+
+
+EXTRA_DIST = \
+ README \
+ review.qrc
diff --git a/scribo/demo/review/review.pro b/scribo/demo/review/review.pro
deleted file mode 100644
index 3ee66e9..0000000
--- a/scribo/demo/review/review.pro
+++ /dev/null
@@ -1,16 +0,0 @@
-######################################################################
-# Automatically generated by qmake (2.01a) Mon Jun 1 10:28:31 2009
-######################################################################
-
-TEMPLATE = app
-TARGET =
-DEPENDPATH += . src ui
-INCLUDEPATH += . src ../../../ ../../../milena
-DEFINES += NDEBUG
-
-# Input
-HEADERS += src/mainwindow.hh
-FORMS += ui/mainwindow.ui
-SOURCES += src/main.cc src/mainwindow.cc
-
-RESOURCES = review.qrc
diff --git a/scribo/demo/review/src/mainwindow.cc b/scribo/demo/review/src/mainwindow.cc
index f2d10a2..2f09ad7 100644
--- a/scribo/demo/review/src/mainwindow.cc
+++ b/scribo/demo/review/src/mainwindow.cc
@@ -1,4 +1,5 @@
-// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
+// (LRDE)
//
// This file is part of Olena.
//
@@ -26,10 +27,6 @@
#include <QtCore>
#include <QtGui>
-#include <mln/core/image/image2d.hh>
-#include <mln/logical/not.hh>
-#include <mln/io/pbm/all.hh>
-
#include <src/mainwindow.hh>
diff --git a/scribo/demo/review/src/mainwindow.hh b/scribo/demo/review/src/mainwindow.hh
index cb32e30..5f92d5a 100644
--- a/scribo/demo/review/src/mainwindow.hh
+++ b/scribo/demo/review/src/mainwindow.hh
@@ -31,7 +31,7 @@
# include <QProcess>
# include <QtGui/QWidget>
# include <QProgressDialog>
-# include <ui_mainwindow.h>
+# include <mainwindow.ui.h>
namespace scribo
{
--
1.5.6.5