Leptonica 1.68
C Image Processing Library
|
Demonstrates finding word boxes in line order by using pixGetWordBoxesInTextlines(). More...
#include "allheaders.h"
Go to the source code of this file.
Defines | |
#define | BUF_SIZE 512 |
#define | RENDER_PAGES 1 |
Functions | |
main (int argc, char **argv) | |
Variables | |
static const l_int32 | MIN_WORD_WIDTH = 6 |
static const l_int32 | MIN_WORD_HEIGHT = 4 |
static const l_int32 | MAX_WORD_WIDTH = 500 |
static const l_int32 | MAX_WORD_HEIGHT = 100 |
Demonstrates finding word boxes in line order by using pixGetWordBoxesInTextlines().
Definition in file wordsinorder.c.
#define BUF_SIZE 512 |
Definition at line 38 of file wordsinorder.c.
Referenced by main().
#define RENDER_PAGES 1 |
Definition at line 39 of file wordsinorder.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 42 of file wordsinorder.c.
References boxaaAddBoxa(), boxaaCreate(), boxaaDestroy(), boxaGetBox(), boxaGetCount(), boxDestroy(), BUF_SIZE, ERROR_INT, filename, getSortedPathnamesInDirectory(), IFF_PNG, L_CLONE, L_INSERT, L_WARNING_INT, MAX_WORD_HEIGHT, MAX_WORD_WIDTH, MIN_WORD_HEIGHT, MIN_WORD_WIDTH, nfiles, NULL, numaaAddNuma(), numaaCreate(), numaaDestroy(), numaGetIValue(), PIX_DST, PIX_SRC, pixcmapCreateRandom(), pixcmapGetColor(), pixCreate(), pixDestroy(), pixGetDimensions(), pixGetWordBoxesInTextlines(), pixRasterop(), pixRead(), pixReduceRankBinary2(), pixRenderBoxArb(), pixSetColormap(), pixUnpackBinary(), pixWrite(), sarrayDestroy(), sarrayGetCount(), and sarrayGetString().
const l_int32 MIN_WORD_WIDTH = 6 [static] |
Definition at line 32 of file wordsinorder.c.
Referenced by main().
const l_int32 MIN_WORD_HEIGHT = 4 [static] |
Definition at line 33 of file wordsinorder.c.
Referenced by main().
const l_int32 MAX_WORD_WIDTH = 500 [static] |
Definition at line 34 of file wordsinorder.c.
Referenced by main().
const l_int32 MAX_WORD_HEIGHT = 100 [static] |
Definition at line 35 of file wordsinorder.c.
Referenced by main().