-
Notifications
You must be signed in to change notification settings - Fork 4
/
fp2.h
37 lines (29 loc) · 775 Bytes
/
fp2.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef fp_H_
#define fp_H_
#include <cv.h>
#include "highgui.h"
#include "math.h"
#include "stdlib.h"
#include "stdio.h"
//Stucture to hold character template images and data
typedef struct charInfo charInfo;
struct charInfo
{
IplImage * charImage;
double contourArea;
double arcLength;
char* charText;
};
//Stucture to hold character template images and data
typedef struct plateInfo plateInfo;
struct plateInfo
{
IplImage * charImage;
double contourArea;
double arcLength;
};
plateInfo* processPlateChars( IplImage * orig_img, int * numContoursP );
charInfo* processTemplateChars( IplImage * template_img, int * numContours );
char** compareChar( charInfo * char_info, plateInfo * plate_info, int *
numContours, int * numContoursP );
#endif /* fp_H_ */