Issue:
I need to get the IDs of all potentially matching documents after reading the sample.
Solution:
After receiving the results of your scan, the system automatically generates a response containing the IDs of the most suitable documents (candidates) in the passport database in our IRS.
Example
Processing the Germany - Passport (2004) Child document.
You will receive:
"FDSIDList": {
"Count": 3, // number of candidates
"ICAOCode": "D<<",
"List": [ // list of candidates
10878,
2979,
15585
],
You should take a list of candidates from the processing results and paste it in the FDSIDList:
struct TShowImageData{
char CountryCode[4]; // three letters country code
int32_t DocumentType; // 0 - not defined, 1 - Passport, 2 - AutoDocs, 3 - Currency, 4 - Visas
int32_t DocumentVersion; // 0 - not defined, 1 - First Document, 2 - Second, ...
int32_t Illumination; // 0 - not defined, 1 - Normal Light, 2 - UV 365, 4 - IR 870
int32_t PageType; // 0 - not defined, 1 - Cover, 2 - Owner's data, ...
union {
TFDSIDList *DocIDList;
char *TextList;
};
};
By using this method, you are more likely to obtain the most probable candidates rather than just manually selecting them based on their Passport value:
Comments
Please sign in to leave a comment.