1. 13 Sep, 2011 1 commit
  2. 12 Sep, 2011 2 commits
    • Guillaume Lazzara's avatar
      Small fixes in Scribo. · 210ab543
      Guillaume Lazzara authored
      	* demo/viewer/icons/olena_smaller.jpg,
      	* demo/viewer/viewer.qrc: Change icon location.
      
      	* scribo/text/paragraphs_closing.hh: Avoid a warning.
      
      	* src/content_in_doc.cc: Fix a parameter description.
      
      	* src/debug/show_lines_boldness.cc,
      	* src/debug/show_text_lines.cc,
      	* src/debug/show_text_lines_wo_seps.cc: Remove useless includes.
      
      	* src/scribo-cli.in: Pass arguments correctly.
      210ab543
    • Guillaume Lazzara's avatar
      More fixes in Scribo build system. · 563d81e0
      Guillaume Lazzara authored
      	* demo/viewer/Makefile.am: Add missing distributed files.
      
      	* src/contest/DAE-2011/Makefile.am,
      	* src/contest/hdlac-2011/Makefile.am,
      	* src/debug/Makefile.am: Fix dependencies.
      563d81e0
  3. 10 Sep, 2011 2 commits
    • Roland Levillain's avatar
      Fix compilation dependencies of unit tests in Scribo. · c760a8e9
      Roland Levillain authored
      	* tests/unit_test/Makefile.am (COND_TESTS):
      	Add cond_tests_magickxx, cond_tests_magickxx_qt and
      	cond_tests_magickxx_tesseract.
      	Remove cond_tests_qt_tesseract_tiff.
      	* tests/unit_test/cond_tests_magickxx,
      	* tests/unit_test/cond_tests_magickxx_qt,
      	* tests/unit_test/cond_tests_magickxx_tesseract:
      	New.
      	* tests/unit_test/cond_tests_qt_tesseract_tiff: Remove (empty)
      	file.
      	* tests/unit_test/cond_tests_magickxx_tesseract_tiff: Add
      	scribo/toolchain/content_in_doc.hh.
      	* tests/unit_test/cond_tests_qt: Remove
      	scribo/io/xml/internal/full_xml_visitor.hh and
      	scribo/io/xml/load.hh.
      	* tests/unit_test/cond_tests_tesseract_tiff: Remove.
      	scribo/toolchain/content_in_doc.hh.
      	* tests/unit_test/cond_tests_magickxx_qt_tesseract_tiff:
      	Remove empty line.
      	* tests/unit_test/unit-tests.mk: Regen.
      c760a8e9
    • Roland Levillain's avatar
      Fix compilation dependencies in Scribo. · 4ff49763
      Roland Levillain authored
      	* src/contest/DAE-2011/Makefile.am
      	(content_in_hdoc_dae_CPPFLAGS, content_in_doc_dae_CPPFLAGS)
      	* src/contest/hdlac-2011/Makefile.am
      	(content_in_hdoc_hdlac_CPPFLAGS):
      	Add $(MAGICKXX_CPPFLAGS).
      	* src/debug/Makefile.am
      	(noinst_PROGRAMS): Move show_lines_boldness...
      	(noinst_PROGRAMS) [HAVE_MAGICKXX, HAVE_TESSERACT]: ...here.
      	(show_lines_boldness_SOURCES): Remove.
      	(show_lines_boldness_SOURCES)
      	(show_lines_boldness_CPPFLAGS)
      	(show_lines_boldness_LDFLAGS)
      	[HAVE_MAGICKXX, HAVE_TESSERACT]: New.
      	(show_text_lines_CPPFLAGS)
      	(show_text_lines_wo_seps_CPPFLAGS)
      	[HAVE_MAGICKXX, HAVE_QT, HAVE_TESSERACT]:
      	Add $(TESSERACT_CPPFLAGS).
      4ff49763
  4. 08 Sep, 2011 2 commits
  5. 07 Sep, 2011 1 commit
  6. 06 Sep, 2011 4 commits
  7. 22 Aug, 2011 4 commits
    • Guillaume Lazzara's avatar
      Fix object selector for separators in scribo-viewer. · a76227a2
      Guillaume Lazzara authored
      	* demo/viewer/common.hh: Add new values in enum.
      
      	* demo/viewer/viewer.cc: Bind XML tag to enum value.
      a76227a2
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Add an option parser to some examples. · fa58e2e7
      Guillaume Lazzara authored
      	* scribo/debug/option_check.hh,
      	* scribo/debug/option_parser.hh: New.
      
      	* src/binarization/sauvola.cc,
      	* src/binarization/sauvola_ms.cc,
      	* src/binarization/sauvola_ms_fg.cc,
      	* src/binarization/sauvola_ms_split.cc,
      	* src/content_in_doc.cc,
      	* src/pbm_text_in_doc.cc,
      	* src/text_in_doc_preprocess.cc,
      	* src/text_in_picture.cc,
      	* src/text_in_picture_neg.cc,
      	* src/text_recognition_in_picture.cc: Use the new option parser.
      fa58e2e7
    • Guillaume Lazzara's avatar
      Some cleanup and fixes. · f2575e27
      Guillaume Lazzara authored
      	* scribo/core/group_info.hh,
      	* scribo/core/object_groups.hh: Add merge method.
      
      	* scribo/draw/groups_bboxes.hh: Only consider valid groups.
      
      	* scribo/estim/components_features.hh,
      	* scribo/primitive/extract/separators_nonvisible.hh,
      	* scribo/subsampling/bilinear.hh,
      	* scribo/text/extract_paragraphs.hh,
      	* scribo/text/merging.hh: Remove debug output.
      
      	* scribo/primitive/group/apply.hh,
      	* scribo/primitive/regroup/from_single_left_link.hh,
      	* scribo/primitive/regroup/from_single_left_link_wrt_h_ratio.hh:
      	Fix invalid result.
      
      	* scribo/toolchain/internal/content_in_doc_functor.hh: Remove comments.
      
      	* scribo/toolchain/internal/text_in_picture_functor.hh: New.
      
      	* scribo/toolchain/content_in_doc.hh,
      	* scribo/toolchain/internal/text_in_doc_functor.hh,
      	* scribo/toolchain/text_in_doc.hh,
      	* scribo/toolchain/text_in_doc_preprocess.hh: Add verbose mode.
      
      	* scribo/toolchain/text_in_picture.hh: Make use of the new
      	functor.
      
      	* scribo/util/component_precise_outline.hh: Fix an include.
      
      	* scribo/src/contest/hdlac-2011/content_in_hdoc_hdlac.cc: Fix parameters.
      f2575e27
  8. 09 Aug, 2011 6 commits
  9. 01 Jul, 2011 1 commit
  10. 28 Jun, 2011 2 commits
    • Guillaume Lazzara's avatar
      Regen generated files. · e359183c
      Guillaume Lazzara authored
      	* headers.mk,
      	* tests/unit_test/unit-tests.mk: Here.
      e359183c
    • Guillaume Lazzara's avatar
      Fix compilation. · ecd297e8
      Guillaume Lazzara authored
      	* scribo/core/object_groups.hh,
      	* scribo/debug/logger.hh,
      	* scribo/estim/object_groups_mean_width.hh,
      	* src/debug/show_paragraph_blocks.cc,
      	* src/debug/show_text_lines.cc,
      	* src/non_text_components.cc,
      	* src/primitive/extract/alignments.cc,
      	* scribo/text/extract_paragraphs_hdoc.hh: Fix namespace ambiguities.
      
      	* scribo/core/object_links.hh: Remove useless find_root().
      
      	* scribo/debug/bboxes_enlarged_image.hh,
      	* scribo/debug/looks_like_a_text_line_image.hh: Update includes.
      
      	* scribo/filter/images_in_paragraph.hh,
      	* scribo/filter/paragraphs_bbox_overlap.hh,
      	* scribo/filter/paragraphs_in_image.hh,
      	* scribo/filter/separators_in_element.hh,
      	* scribo/filter/separators_in_paragraph.hh,
      	* scribo/io/img/internal/debug_img_visitor.hh,
      	* scribo/io/img/internal/full_img_visitor.hh,
      	* scribo/io/xml/internal/compute_text_colour.hh,
      	* scribo/io/xml/internal/full_xml_visitor.hh,
      	* scribo/io/xml/internal/page_xml_visitor.hh,
      	* scribo/io/xml/internal/time_info.hh,
      	* scribo/postprocessing/images_to_drop_capital.hh,
      	* scribo/primitive/remove/separators.hh,
      	* scribo/text/extract_paragraphs.hh,
      	* scribo/text/paragraphs_closing.hh,
      	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Add
      	missing includes.
      
      	* scribo/io/xml/load.hh: Fix string conversions.
      
      	* scribo/primitive/group/from_double_link.hh
      	* scribo/primitive/link/with_several_left_links.hh
      	* scribo/primitive/link/with_several_right_links.hh
      	* src/afp/link.hh: Update according new API in
      	object_groups/links.
      
      	* src/text_in_picture.cc,
      	* src/text_in_picture_neg.cc,
      	* src/text_recognition_in_picture.cc: Update a routine name.
      ecd297e8
  11. 27 Jun, 2011 3 commits
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Fix XML output. · 6314d3d8
      Guillaume Lazzara authored
      	* demo/viewer/viewer.cc,
      	* demo/viewer/xml_widget.cc: Update tag names.
      
      	* scribo/io/xml/internal/extended_page_xml_visitor.hh,
      	* scribo/io/xml/save.hh: Save component outlines.
      6314d3d8
    • Guillaume Lazzara's avatar
      Fix compilation issues. · 8dbc001c
      Guillaume Lazzara authored
      	* scribo/core/component_features_data.hh,
      	* scribo/core/group_info.hh,
      	* scribo/io/xml/internal/compute_text_colour.hh,
      	* scribo/io/xml/internal/time_info.hh,
      	* scribo/util/color_to_hex.hh,
      	* scribo/util/component_precise_outline.hh: Add missing inline.
      
      	* scribo/toolchain/internal/text_in_doc_preprocess_functor.hh: Add
      	a missing include.
      8dbc001c
  12. 20 Jun, 2011 1 commit
    • Guillaume Lazzara's avatar
      Make different algorithms for doc and hdoc use cases. · 5454dc19
      Guillaume Lazzara authored
      	* scribo/core/paragraph_set.hh: Add an overload of
      	make::paragraph().
      
      	* scribo/text/paragraphs.hh: Move...
      
      	* scribo/text/extract_paragraphs.hh,
      	* scribo/text/extract_paragraphs_hdoc.hh: ... here.
      
      	* scribo/text/merging.hh: Remove holder() calls.
      
      	* scribo/text/merging_hdoc.hh: New.
      
      	* scribo/toolchain/internal/content_in_doc_functor.hh: Fix compilation.
      
      	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Make use
      	of hdoc algorithms.
      5454dc19
  13. 07 Jun, 2011 11 commits
    • Guillaume Lazzara's avatar
      Add a new toolchain for ICDAR contests. · 563c43fd
      Guillaume Lazzara authored
      	* src/contest/DAE-2011/Makefile.am: New target.
      
      	* src/contest/DAE-2011/content_in_doc_dae.cc: New.
      563c43fd
    • Guillaume Lazzara's avatar
      Disable OCR in ICDAR toolchains. · 1fc7f0c1
      Guillaume Lazzara authored
      	* scribo/toolchain/internal/content_in_doc_functor.hh,
      	* src/Makefile.am,
      	* src/contest/DAE-2011/content_in_hdoc_dae.cc: Here.
      1fc7f0c1
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Add a new example. · be328942
      Guillaume Lazzara authored
      	* src/util/Makefile.am,
      	* src/util/component_precise_outline.cc: New.
      be328942
    • Guillaume Lazzara's avatar
      Add binaries for ICDAR 2011 contests. · 3f75647a
      Guillaume Lazzara authored
      	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Remove
      	debug.
      
      	* src/content_in_hdoc.cc: Disable debug.
      
      	* src/contest/DAE-2011/Makefile.am,
      	* src/contest/Makefile.am,
      	* src/contest/hdlac-2011/Makefile.am: New targets.
      
      	* src/contest/DAE-2011/content_in_hdoc_dae.cc,
      	* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc: New.
      3f75647a
    • Guillaume Lazzara's avatar
      Small fixes. · 21c18879
      Guillaume Lazzara authored
      	* scribo/io/xml/internal/page_xml_visitor.hh: Fix duplicate ids.
      
      	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Remove
      	debug and disable OCR.
      
      	* scribo/util/component_precise_outline.hh: Remove debug.
      21c18879
    • Guillaume Lazzara's avatar
      Fix use of uninitialized values. · 3d6ca930
      Guillaume Lazzara authored
      	* scribo/primitive/extract/lines_h_thick_and_thin.hh,
      	* scribo/primitive/remove/separators.hh: Initialize border.
      3d6ca930
    • Guillaume Lazzara's avatar
      Fix a serious memory leak. · 12481e43
      Guillaume Lazzara authored
      	* scribo/core/component_info.hh,
      	* scribo/core/component_set.hh,
      	* scribo/core/line_info.hh,
      	* scribo/draw/line_components.hh: Remove holder data. Prevented
      	the containers from being freed.
      
      	* scribo/io/img/internal/debug_img_visitor.hh,
      	* scribo/io/img/internal/full_img_visitor.hh,
      	* scribo/io/img/save.hh,
      	* scribo/io/xml/internal/page_xml_visitor.hh,
      	* scribo/io/xml/save.hh,
      	* scribo/primitive/extract/lines_h_thick_and_thin.hh,
      	* scribo/primitive/remove/separators.hh,
      	* scribo/text/merging.hh,
      	* scribo/text/paragraphs.hh,
      	* scribo/text/paragraphs_closing.hh,
      	* scribo/toolchain/internal/content_in_hdoc_functor.hh: Update
      	code in order to make holder data useless.
      12481e43
    • Guillaume Lazzara's avatar
      a32b976c
    • Guillaume Lazzara's avatar
      scribo/util/box_is_included.hh: New. · 18cb9241
      Guillaume Lazzara authored
      18cb9241
    • Guillaume Lazzara's avatar
      Fix Page XML output. · 5a9f233b
      Guillaume Lazzara authored
      	* scribo/io/xml/internal/print_image_coords.hh,
      	* scribo/io/xml/internal/print_page_preambule.hh: Fix typos.
      
      	* scribo/io/xml/internal/time_info.hh: New.
      5a9f233b