![]() |
Leptonica 1.68
C Image Processing Library
|
Demonstrates comparing text pages using the location of word bounding boxes with pixGetWordBoxesInTextlines() and numaaCompareImagesByBoxes(), The goal is to get a fast and robust determination for whether two pages are the same. More...
#include <stdio.h>#include <stdlib.h>#include "allheaders.h"Go to the source code of this file.
Functions | |
| main (int argc, char **argv) | |
Demonstrates comparing text pages using the location of word bounding boxes with pixGetWordBoxesInTextlines() and numaaCompareImagesByBoxes(), The goal is to get a fast and robust determination for whether two pages are the same.
Definition in file comparepages.c.
| main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 28 of file comparepages.c.
References boxaDestroy(), boxaExtractSortedPattern(), IFF_PNG, NULL, numaaCompareImagesByBoxes(), numaaDestroy(), numaaGetCount(), numaaRead(), numaaWrite(), numaDestroy(), PIX_SRC, pixConvertTo1(), pixCreateTemplate(), pixDestroy(), pixDisplay(), pixDrawBoxaRandom(), pixGetDimensions(), pixGetWordBoxesInTextlines(), pixRasterop(), pixRead(), and pixWrite().