]> iEval git - image-openalpr.git/blame - OpenALPR.xs
Initial commit
[image-openalpr.git] / OpenALPR.xs
CommitLineData
470f6420
MG
1#define PERL_NO_GET_CONTEXT
2#include "EXTERN.h"
3#include "perl.h"
4#include "XSUB.h"
5
6#include "ppport.h"
7
8struct Alpr;
9typedef struct Alpr Alpr;
10typedef char fchar;
11
12extern Alpr* initialize(char*, char*, char*);
13extern void dispose(Alpr*);
14extern bool isLoaded(Alpr*);
15extern char* recognizeFile(Alpr*, char*);
16extern char* recognizeArray(Alpr*, char*, int);
17extern void setCountry(Alpr*, char*);
18extern void setPrewarp(Alpr*, char*);
19extern void setDefaultRegion(Alpr*, char*);
20extern void setTopN(Alpr*, int);
21extern char* getVersion(Alpr*);
22extern void freeJsonMem(char*);
23
24MODULE = Image::OpenALPR PACKAGE = Image::OpenALPR
25PROTOTYPES: ENABLE
26
27Alpr* initialize(char* country, char* config_file = "", char* runtime_dir = "")
28
29void dispose(Alpr* alpr)
30
31bool isLoaded(Alpr* alpr)
32
33fchar* recognizeFile(Alpr* alpr, char* image_file)
34
35fchar* recognizeArray(Alpr* alpr, char* buf, int length(buf))
36
37void setString(Alpr* alpr, char* value)
38 INTERFACE: setCountry setPrewarp setDefaultRegion
39
40void setTopN(Alpr* alpr, int top_n)
41
42fchar* getVersion(Alpr* alpr)
This page took 0.026538 seconds and 4 git commands to generate.