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
| System | Port | Version |
|---|---|---|
| MidnightBSD | graphics/ocrad | 0.29 |
| FreeBSD | graphics/ocrad | 0.29 |
| OpenBSD | graphics/ocrad | 0.29 |
| NetBSD | graphics/ocrad | 0.21 |
| DragonFly | graphics/ocrad | 0.29 |
| HardenedBSD | graphics/ocrad | 0.29 |
| GhostBSD | graphics/ocrad | 0.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
libpng.so: graphics/png
Extract 1
lzip: archivers/lzip
Build dependencies 2
Run dependencies 1
No port depends on this one.
Configuration
Options name: graphics_ocrad
| Option | Default | Description |
|---|---|---|
| DOCS | off | |
| EXAMPLES | off |
- USES
- localbase
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ocrad-0.29.tar.lz | 96519 | 11200cc6b0b7ba16884a72dccb58ef694f7aa26cd2b2041e555580f064d2d9e9 |
Master sites 1
- GNU
Commit history 2
| Date | Commit | Credits | Log 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]> |