Leptonica 1.68
C Image Processing Library

wordsinorder.c File Reference

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

Detailed Description

Demonstrates finding word boxes in line order by using pixGetWordBoxesInTextlines().

Definition in file wordsinorder.c.


Define Documentation

#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.


Function Documentation


Variable Documentation

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().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines