BSD Ports

graphics/ocrad 0.29 MidnightBSD

OCR program implemented as filter

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
93a41e991b
License
gpl2
Categories
graphics

Description

GNU Ocrad is an OCR (Optical Character Recognition) program implemented as a filter and based on a feature extraction method. It reads a bitmap image in pbm format and outputs text in ISO-8859-1 (Latin-1) charset. Also includes a layout analyser able to separate the columns or blocks of text normally found on printed pages. It can be used as a stand-alone console application, or as a backend to other programs.

In the other systems

SystemPortVersion
MidnightBSDgraphics/ocrad0.29
FreeBSDgraphics/ocrad0.29
OpenBSDgraphics/ocrad0.29
NetBSDgraphics/ocrad0.21
DragonFlygraphics/ocrad0.29
HardenedBSDgraphics/ocrad0.29
GhostBSDgraphics/ocrad0.29

Install

Binary package:

mport install ocrad

From mports:

cd /usr/mports/graphics/ocrad && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ocrad>0:graphics/ocrad

Dependencies

As this port's Makefile names them.

Library 1

Extract 1

Build dependencies 2
Run dependencies 1

No port depends on this one.

Configuration

Options name: graphics_ocrad

OptionDefaultDescription
DOCSoff
EXAMPLESoff
USES
localbase
Service scripts
none

Files

distinfo 1
FileSizeSHA256
ocrad-0.29.tar.lz9651911200cc6b0b7ba16884a72dccb58ef694f7aa26cd2b2041e555580f064d2d9e9
Master sites 1
  • GNU

Commit history 2

DateCommitCreditsLog message
93a41e991b Lucas Holt graphics/ocrad: pass CPPFLAGS to configure
Fix the libpng include path not reaching the old configure script, which left png_io.cc unable to find <png.h> during build. AI-Assisted-by: Claude Sonnet 4.6 <[email protected]> Signed-off-by: Lucas Holt <[email protected]>
bf8352f1cb Lucas Holt graphics/ocrad: link against libpng
Declare the png dependency and pass localbase linker flags through configure so ocrad can find png.h and libpng during the build. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>