forked from card-io/card.io-dmz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexpiry_categorize.h
28 lines (22 loc) · 905 Bytes
/
expiry_categorize.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
//
// expiry_categorize.h
// See the file "LICENSE.md" for the full license governing this code.
//
#ifndef DMZ_SCAN_EXPIRY_CATEGORIZE_H
#define DMZ_SCAN_EXPIRY_CATEGORIZE_H
#include "expiry_types.h"
#include "opencv2/core/core_c.h" // needed for IplImage
#include "dmz_macros.h"
DMZ_INTERNAL void expiry_extract(IplImage *cardY,
GroupedRectsList &expiry_groups,
GroupedRectsList &new_groups,
int *expiry_month,
int *expiry_year);
#if CYTHON_DMZ
DMZ_INTERNAL void expiry_extract_group(IplImage *card_y,
GroupedRects &group,
ExpiryGroupScores &old_scores,
int *expiry_month,
int *expiry_year);
#endif
#endif