Leptonica 1.68
C Image Processing Library
|
For each barcode in the image, if the barcode format is supported, this deskews and crops it, and then decodes it twice: (1) as is (deskewed) (2) after 180 degree rotation. More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
#include "readbarcode.h"
Go to the source code of this file.
Functions | |
main (int argc, char **argv) |
For each barcode in the image, if the barcode format is supported, this deskews and crops it, and then decodes it twice: (1) as is (deskewed) (2) after 180 degree rotation.
Definition in file barcodetest.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 33 of file barcodetest.c.
References ERROR_INT, filein, L_BF_ANY, L_USE_WIDTHS, NULL, pixDestroy(), pixProcessBarcodes(), pixRead(), pixRotate180(), sarrayDestroy(), and sarrayWrite().