Griaule Biometrics

Home » Forums » FINGERPRINT SDK » GrFinger 4.1 (ARCHIVE) » Question About EmbeddedTemplate Griaule new Versions
7 replies [Last post]
anthony12
Offline
Joined: 2008-08-25
Rate this post:
0
No votes yet
Question About EmbeddedTemplate Griaule new Versions

Hi

I do need to migrate a application  developed using Griaule AFIS 1.0  to the lastest Griaule version. I realized that our application uses a DLL named

GRTemplateConverter.dll. That Dll has a lot of functions usefull   functions  like   GRTCGetEmbeddedTemplate.

Functions that uses our App.

// Methods

[DllImport("GrTemplateConverter.dll", EntryPoint="GrTCFinalize")] public static extern int Finalize();

[DllImport("GrTemplateConverter.dll", EntryPoint="GrTCGetAFISTemplate")] public static extern int GetAFISTemplate(IntPtr inTpt, IntPtr outTpt, ref int tptSize); [DllImport("GrTemplateConverter.dll", EntryPoint="GrTCGetEmbeddedTemplate")] public static extern int GetEmbeddedTemplate(IntPtr inTpt, IntPtr outTpt, ref int tptSize); [DllImport("GrTemplateConverter.dll", EntryPoint="GrTCInitialize")]

 

Question: Where Can I find those function in the lastest Griaule Version ? Is it a Activex or DLL ? Are they have the same name functions or different ?

Thank you for the support.

Best Regards

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

Can you tell us exactly what functions do you use of this library?
We will check if they're still available for use in the newest version.

Also, could you tell us what's the creation date of this library you're using?

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

anthony12
Offline
Joined: 2008-08-25
Rate this post:
0
No votes yet

 

Hi mr Smythe

 

The functions that is using my Application are GrTCGetEmbeddedTemplate, GrTCGetAFISTemplate, GrTCFinalize.

 

All of 'em are into   GrTemplateConverter.dll Library.


Version Library is 1.0.0.0

 


public class GriauleTemplateConverter
{
    // Fields
    public const int GRTC_ERROR_FAIL = -6;
    public const int GRTC_ERROR_FAIL_TO_READ = -116;
    public const int GRTC_ERROR_NOT_ENOUGH_SPACE = -114;
    public const int GRTC_OK = 0;

// Methods [DllImport("GrTemplateConverter.dll", EntryPoint="GrTCFinalize")]
public static extern int Finalize();
[DllImport("GrTemplateConverter.dll", EntryPoint="GrTCGetAFISTemplate")]
public static extern int GetAFISTemplate(IntPtr inTpt, IntPtr outTpt, ref int tptSize);
[DllImport("GrTemplateConverter.dll", EntryPoint="GrTCGetEmbeddedTemplate")]
public static extern int GetEmbeddedTemplate(IntPtr inTpt, IntPtr outTpt, ref int tptSize);
[DllImport("GrTemplateConverter.dll", EntryPoint="GrTCInitialize")]
public static extern int Initialize();
}


 


 


thanks for the support


 


Best Regards


 


m.svol
Offline
Joined: 2010-09-02
Rate this post:
5
Average: 5 (1 vote)

Dear customer,

All these functions are available on AFIS 2.0.

The Initialize and Finalize functions are still the same.

About the GetAFISTemplate and GetEmbeddedTemplate there's a little change:

If you are using then to extract the fingerprint and save it in one of these formats, you will have  to use: GetTemplate and GetTemplateEx, or just GetTemplateEx.

The GetTemplate function returns the template in the default format (AFIS), the GetTemplateEx returns the template into the format you specify in the adequate parameter. In this case you have to use one of these constants:

  • GRAFIS_FORMAT_GR002                2               for Embedded format
  • GRAFIS_FORMAT_GR003                3               for AFIS format

Although, if you've been using the functions GetAFISTemplate and GetEmbeddedTemplate to convert templates, you will have to use: ConvertTemplate, also specifying the format on the adequate parameter.

You can see it in more details on this page with the AFIS programming reference guide: http://www.griaulebiometrics.com/en-us/manual/afis-sdk/programming-reference-guide and on GriauleAfis.h which is in the AFIS 2.0 installing directory.

Hope it helps you to update your AFIS.
Best regards,

 

--

Matheus Smythe Svolenski

Griaule Biometrics Support Team

 

anthony12
Offline
Joined: 2008-08-25
Rate this post:
0
No votes yet

 

 

Hi Smythe

 

Thank you very much for the support, it was clear for me and my boss.

 

I have another cuestion, I realized that my company also has licences for  fingerprint 2007

I 've talked with my boss about buying Licenses for  Fingerprint 2009, cause 2007 is no longer support for Griaule  but we can buy em for now maybe the next year.

 

Actually I am using Fingerprint 2007 (full licence), windows XP Service Pack 2 and Crossmatch USB. When I ran demo examples I am able to get my fingerprint also using all the functions but when the applications demo is goin' to  close it shows a Windows Error and the application crash. I 've debug the application and the error happend when Finalize method is fired.

 

I 've surfing this forum for hours and I read things like, I have to  delete all the dlls no related with Crossmatch (I did with no effect). I also read the correctly way to close the application (but is the .NET Demo  that is failing).

 

Is there anyway to run demo programs without that issue ??

 

thanks for your support !

 

Best Regards

 

 

 

 

 

 

 

 

 

davi.st1
Offline
Joined: 2010-08-26
Rate this post:
0
No votes yet

Dear customer,

 

I'll send an e-mail to you with a test dll.

 

Best regards,

 

Davi Stuart Zilli

Griaule Support Team

anthony12
Offline
Joined: 2008-08-25
Rate this post:
0
No votes yet

 

Mr Stuart & Smythe

 

I received  the dll by email and I 've followed your instructions. After days/hours it doesn't work. I decided to install in a new XP with default Service Pack II, (no antivirus) it 've worked good !. 

 

My boss and me  have another question, we 've been using Griaule Products to get fingerprints and storing templates in database. Since there is a new version and our dlls libraries are old and no longer support,when we will update with "Griuale Library 2009" from our old "Griaule AFIS 1.0"

 

1- Will we have problems to macth with our old templates   ? 

2- Is the  new version consistent  with old format templates ? Are they the same? 

3- Do I have to modify something to continue using the same format templates ?

 

 

 

Thank you for the support.

 

Best Regards Anthony

 

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

 

We're glad you make it work properly.

About updating from AFIS SDK 1.0 to AFIS SDK 2.0.

1 - Will we have problems to match with our old templates?

You should have no problems at all.

2 - Is the new version consistent with old format templates ? Are they the same?

The file format is still the same. Also if you want, now we have support to ISO and ANSI formats.

3 - Do I have to modify something to continue using the same format templates?

You don't have to change anything on the templates.


Hope it helps you.
Best regards,


--
Matheus Smythe Svolenski
Griaule Biometrics Support Team