head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.130 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.128 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.126 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.124 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.122 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.120 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.118 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.116 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.114 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.112 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.110 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.108 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.106 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.104 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.102 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.100 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.98 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.96 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.94 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.92 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.90 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.88 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.86 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.82 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.62 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.84 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.80 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.78 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.76 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.74 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.72 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.70 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.68 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.66 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.64 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.60 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.58 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.56 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.54 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.52 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.50 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.48 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.46 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.44 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.42 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.40 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.38 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.36 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.34 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.32 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.30 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.28 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.26 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.24 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.22 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.20 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.18 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.16 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.14 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.12 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.10 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.8 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.6 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.4 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.2 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.2.0.2 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q2:1.1.1.1.0.34 pkgsrc-2009Q2-base:1.1.1.1 pkgsrc-2009Q1:1.1.1.1.0.32 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.30 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.28 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.26 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.24 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.22 pkgsrc-2008Q1:1.1.1.1.0.20 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.18 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.16 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.14 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.12 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.10 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-2006Q3:1.1.1.1.0.8 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.6 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-2006Q1:1.1.1.1.0.4 pkgsrc-2006Q1-base:1.1.1.1 pkgsrc-2005Q4:1.1.1.1.0.2 pkgsrc-2005Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2010.03.08.12.35.54; author adam; state Exp; branches; next 1.2; 1.2 date 2009.07.11.08.05.06; author obache; state dead; branches; next 1.1; 1.1 date 2005.10.16.20.17.49; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.10.16.20.17.49; author wiz; state Exp; branches; next ; desc @@ 1.3 log @Changes 0.19: * A library interface has been added. * The option "--crop" has been replaced with the similar but different option "--cut", which can accept coordinates taken from the ORF file. * Recognition of files with a single character and without white space at the edges has been fixed. * Lintian warnings in Debian about man pages have been fixed. @ text @$NetBSD$ --- configure.orig 2010-03-08 12:32:58.000000000 +0000 +++ configure @@@@ -29,10 +29,6 @@@@ infodir='$(datadir)/info' libdir='${exec_prefix}/lib' mandir='$(datadir)/man' sysconfdir='$(prefix)/etc' -CXX= -CPPFLAGS= -CXXFLAGS='-Wall -W -O2' -LDFLAGS= # Loop over all args while [ -n "$1" ] ; do @ 1.2 log @Update ocrad to 0.18. Based on patch provided by Uwe Klaus in PR 41617. 2009-05-08 Antonio Diaz * Version 0.18 released. * Added a layout analyser able to process arbitrary pages. * Added new option `--quiet'. * The `--layout' option no more accepts an argument. * The `--crop' option now accepts negative coordinates. * New recognized letter; 'a' with ring above. * Fixed recognition on files with a single big character. * Fixed bug that didn't write maxval when saving pgm or ppm. * Fixed some includes that prevented compilation with GCC 4.3.0. * "make install-info" should now work on Debian and OS X. * Makefile.in: Man page is now installed by default. * New file testsuite/check.sh. * Arg_parser updated to 1.2. * Verbosity control of messages has been modified. 2007-06-29 Antonio Diaz * Version 0.17 released. * License updated to GPL version 3 or later. * `--scale' no more suppresses ORF output. * Improved removal of thick frames. * Changed `Textline' to accept more than one big initial. * Class `Block' renamed to `Blob'. * `configure' and `Makefile.in' have been modified to be more GNU-standards compliant. 2006-10-20 Antonio Diaz * Version 0.16 released. * Added new option `--filter'. * Better algorithm for vertical space detection (blank lines). * Some fixes made to `configure' script. * Added two new debug levels. * Improvements in character recognition. 2006-04-03 Antonio Diaz * Version 0.15 released. * Added new argument parser that replaces `getopt_long'. * Fixed a bug that prevented compilation with GCC 4.1. 2006-02-15 Antonio Diaz * Version 0.14 released. * Ocrad is now able to read ppm files. * Added new class `Page_image' (256-level greymap). * Added automatic and adaptive binarization by Otsu's method. * Added new option `--crop'. * Added two new chapters `Image Format Conversion' and `Algorithm' to the texinfo file. * Target `check' added to Makefile. * Changed `ocrad.png' icon to color, one line. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2005/10/16 20:17:49 wiz Exp $ d3 13 a15 11 --- main.cc.orig 2005-10-10 19:04:24.000000000 +0200 +++ main.cc @@@@ -198,7 +198,7 @@@@ int process_file( FILE *infile, const ch void Ocrad::internal_error( const char * msg ) throw() { char buf[80]; - std::snprintf( buf, sizeof( buf ), "internal error: %s.\n", msg ); + snprintf( buf, sizeof( buf ), "internal error: %s.\n", msg ); show_error( buf ); exit( 3 ); } @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of ocrad-0.13: GNU Ocrad is an OCR (Optical Character Recognition) program based on a feature extraction method. It reads a bitmap image in pbm or pgm formats and produces text in byte (8-bit) or UTF-8 formats. Ocrad includes a layout analyser able to separate the columns or blocks of text normally found on printed pages. @ text @@