Page 1 of 2

autentication via Finger print or Face

PostPosted: Tue Aug 19, 2014 1:56 pm
by mgsoft
Hello,

I wonder if anyone has developed and wants to share or sell routines to authenticate users either by fingerprint or face.

I await your comments. Thank you very much.

Re: autentication via Finger print or Face

PostPosted: Thu Aug 21, 2014 12:43 pm
by Antonio Linares
Eduardo,

George Abinader amablemente ha donado esta clase para leer Fingerprint "Griaule" que desarrolló Pablo Botella hace unos años para él.

https://bitbucket.org/fivetech/fivewin-contributions/downloads/ClassGriaule.zip

No la he probado, pero George me ha comentado que él la uso en su momento y le funcionó bien :-)

Re: autentication via Finger print or Face

PostPosted: Fri Aug 22, 2014 9:01 am
by mgsoft
Hello,

Many thanks Antonio, I am going to review it.

By the way, who is Pablo Botella?. It seems he is also a great C++ programmer.

Re: autentication via Finger print or Face

PostPosted: Fri Aug 22, 2014 3:06 pm
by Antonio Linares
Pablo was an advanced FWH and Harbour user, I haven't got news from him lately, so not sure what is he involved in now :-)

Re: autentication via Finger print or Face

PostPosted: Sat Aug 23, 2014 11:56 am
by Pablo Botella
Hola,

El amigo Hector Pezoa que está al tanto de todo lo que ocurre en el planeta y alrededores me pegó este link en mi skype a ver si me pitaban los oídos :-)

Con el lector de MS no hay otra que usar Griulle, y como esta dll usa sus propios threads para ejecutar los callbacks pues me tocó tanto para Osvaldo con Alaska como para George con Harbour hacer una funcioncita que hiciera post a una ventana y así iba al thread principal. Con el ActiveX imagino que esto no hará falta.

De todas formas luego para otro proyecto encontré este lector http://www.digitalpersona.com/Fingerpri ... 00-Reader/ que sale barato y trae ya su API sin tener que pagar royalties y hasta un par de funcioncitas con dialogos para hacer el enroll y otro para capturar la huella para hacer login, hará 4 años me costó como unos 50 EUR

Hacía tiempo que no tenía oportunidad de saludar a mi maestro Antonio, así que aprovecho para enviarle un abrazo

Re: autentication via Finger print or Face

PostPosted: Sat Aug 23, 2014 2:46 pm
by Silvio.Falconi
now i'm seeing botella files and I saw perhaps we not need grfinger.dll

because botella add many function c on source as you can read the information on digitalpersona CD DISK when you purchase the hardaware fingerprint

I'd like to Knwow wich hardware are compatible with this botella's class griaule. thank you

Re: autentication via Finger print or Face

PostPosted: Sat Aug 23, 2014 3:26 pm
by Pablo Botella
Silvio,

I suspect you mixing concepts here, Griaulle's library provide a generic encapsulation to support several fingerprint readers on the market, and probably will support also digitalpersona readers.

The purpose of the stuff that George was hire me to develop was a mere wrapper to solve some issues using the Griaulle library, but not to replace it, so GrFinger.dll is required

Another unrelated way to handle Digital Persona is just using the DLLs provided at the Digital Persona CD, I was not used with Harbour but will not be dificult. DLL functions that launching callbacks may use different threads like in the Griaulle library, but as an option there is provided also another DLL 2 UI functions to show the enrollment and login dialogs that provide their own callbacks, so will be so easy to include in your application without the need to be aware about threads. The other API functions can be called like any other DLL function without any special requeriment. Digital Persona SDK provide also an ActiveX encapsulation of all this stuff, so even is easy to these DLL functions directly, you have also an alternate option.

Regards,
Pablo

Re: autentication via Finger print or Face

PostPosted: Sat Aug 23, 2014 3:27 pm
by Silvio.Falconi
Please someone can help me

Progetto: Test, Ambiente: xFive_Pelles:
[1]:iLink32.Exe -Gn -aa -Tpe -s @Test.bcl
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_funcname' referenced from C:\WORK\ERRORI\GRIAULE\OBJ\XHBGRFINGER.OBJ

error in this line 421
#define GR_API_HB_FUNC( funcname ) \

Re: autentication via Finger print or Face

PostPosted: Sat Aug 23, 2014 5:17 pm
by Pablo Botella
error in this line 421
#define GR_API_HB_FUNC( funcname ) \


try to remove the \ and join lines in case related to this

Re: autentication via Finger print or Face

PostPosted: Sun Aug 24, 2014 4:09 pm
by Silvio.Falconi
With Harbour 3.4
these errors
Code: Select all  Expand view
Warning W8065 Source\\xhbGrFinger.prg 556: Call to function 'ISBLOCK' with no prototype in function _hb_GetParamCbCopy
Warning W8065 Source\\xhbGrFinger.prg 563: Call to function 'ISNIL' with no prototype in function _hb_GetParamCopy
Warning W8075 Source\\xhbGrFinger.prg 801: Suspicious pointer conversion in function hb_staticGRSETLICENSEFOLDER
Warning W8075 Source\\xhbGrFinger.prg 807: Suspicious pointer conversion in function hb_staticGRINSTALLLICENSE
Error E2227 Source\\xhbGrFinger.prg 821: Extra parameter in call to hb_stornl in function hb_staticGRCREATECONTEXT
Warning W8075 Source\\xhbGrFinger.prg 834: Suspicious pointer conversion in function hb_staticGRVERIFY
Warning W8075 Source\\xhbGrFinger.prg 835: Suspicious pointer conversion in function hb_staticGRVERIFY
Error E2227 Source\\xhbGrFinger.prg 839: Extra parameter in call to hb_stornl in function hb_staticGRVERIFY
Warning W8075 Source\\xhbGrFinger.prg 846: Suspicious pointer conversion in function hb_staticGRIDENTIFYPREPARE
Warning W8075 Source\\xhbGrFinger.prg 852: Suspicious pointer conversion in function hb_staticGRIDENTIFY
Error E2227 Source\\xhbGrFinger.prg 853: Extra parameter in call to hb_stornl in function hb_staticGRIDENTIFY
Error E2227 Source\\xhbGrFinger.prg 872: Extra parameter in call to hb_stornl in function hb_staticGRGETIDENTIFYPARAMETERS
Error E2227 Source\\xhbGrFinger.prg 873: Extra parameter in call to hb_stornl in function hb_staticGRGETIDENTIFYPARAMETERS
Error E2227 Source\\xhbGrFinger.prg 882: Extra parameter in call to hb_stornl in function hb_staticGRGETVERIFYPARAMETERS
Error E2227 Source\\xhbGrFinger.prg 883: Extra parameter in call to hb_stornl in function hb_staticGRGETVERIFYPARAMETERS
Warning W8075 Source\\xhbGrFinger.prg 911: Suspicious pointer conversion in function hb_staticGRCAPSTARTCAPTURE
Warning W8075 Source\\xhbGrFinger.prg 931: Suspicious pointer conversion in function hb_staticGRCAPSTOPCAPTURE
Warning W8075 Source\\xhbGrFinger.prg 932: Suspicious pointer conversion in function hb_staticGRCAPSTOPCAPTURE
Warning W8075 Source\\xhbGrFinger.prg 957: Suspicious pointer conversion in function hb_staticGRCAPLOADIMAGEFROMFILE
Error E2227 Source\\xhbGrFinger.prg 970: Extra parameter in call to hb_stornl in function hb_staticGRCAPRAWIMAGETOHANDLE
Warning W8075 Source\\xhbGrFinger.prg 978: Suspicious pointer conversion in function hb_staticGRBIOMETRICDISPLAY
Error E2227 Source\\xhbGrFinger.prg 979: Extra parameter in call to hb_stornl in function hb_staticGRBIOMETRICDISPLAY
Error E2227 Source\\xhbGrFinger.prg 994: Extra parameter in call to hb_stornl in function hb_staticGRGETGRFINGERVERSION
Error E2227 Source\\xhbGrFinger.prg 995: Extra parameter in call to hb_stornl in function hb_staticGRGETGRFINGERVERSION
Warning W8075 Source\\xhbGrFinger.prg 1004: Suspicious pointer conversion in function hb_staticGRCONVERTTEMPLATE
Error E2227 Source\\xhbGrFinger.prg 1005: Extra parameter in call to hb_storc in function hb_staticGRCONVERTTEMPLATE
Error E2227 Source\\xhbGrFinger.prg 1006: Extra parameter in call to hb_storclen in function hb_staticGRCONVERTTEMPLATE
Error E2227 Source\\xhbGrFinger.prg 1018: Extra parameter in call to hb_storc in function hb_staticGREXTRACTEX
Error E2227 Source\\xhbGrFinger.prg 1019: Extra parameter in call to hb_storclen in function hb_staticGREXTRACTEX
Warning W8075 Source\\xhbGrFinger.prg 1026: Suspicious pointer conversion in function hb_staticCGRBASE64TOBIN
Warning W8075 Source\\xhbGrFinger.prg 1040: Suspicious pointer conversion in function hb_staticCGRBIN2BASE64
Warning W8075 Source\\xhbGrFinger.prg 1055: Suspicious pointer conversion in function hb_staticGRISBASE64ENCODING
Warning W8075 Source\\xhbGrFinger.prg 1072: Suspicious pointer conversion in function hb_staticGRENROLL
Error E2227 Source\\xhbGrFinger.prg 1073: Extra parameter in call to hb_storc in function hb_staticGRENROLL
Error E2227 Source\\xhbGrFinger.prg 1074: Extra parameter in call to hb_storclen in function hb_staticGRENROLL
Warning W8075 Source\\xhbGrFinger.prg 1081: Suspicious pointer conversion in function hb_staticGR_SET_SENSOR_CARGO
Warning W8075 Source\\xhbGrFinger.prg 1089: Suspicious pointer conversion in function hb_staticGR_GET_SENSOR_CARGO
*** 17 errors in Compile ***
 


With xharbour
Code: Select all  Expand view

Lines 403, Functions/Procedures 45, pCodes 3197
[1]:Bcc32.Exe -M -c -O2  -tW -v- -X -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -IC:\Work\fwh\include -IC:\Work\bcc582\Include;c:\work\xHarbour\Include  -nObj Obj\xhbGrFinger.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
Obj\xhbGrFinger.c:
Error E2206 Source\\xhbGrFinger.prg 423: Illegal character '#' (0x23)
Error E2449 Source\\xhbGrFinger.prg 423: Size of 'hb_static' is unknown or zero
Error E2141 Source\\xhbGrFinger.prg 423: Declaration syntax error
Error E2206 Source\\xhbGrFinger.prg 426: Illegal character '#' (0x23) in function HB_FUN_funcname
Warning W8019 Source\\xhbGrFinger.prg 426: Code has no effect in function HB_FUN_funcname
Error E2379 Source\\xhbGrFinger.prg 426: Statement missing ; in function HB_FUN_funcname
Error E2206 Source\\xhbGrFinger.prg 437: Illegal character '#' (0x23)
Error E2449 Source\\xhbGrFinger.prg 437: Size of 'hb_static' is unknown or zero
Error E2141 Source\\xhbGrFinger.prg 437: Declaration syntax error
Error E2040 Source\\xhbGrFinger.prg 795: Declaration terminated incorrectly
*** 9 errors in Compile ***

Re: autentication via Finger print or Face

PostPosted: Tue Sep 09, 2014 12:07 pm
by elvira
Hola

No consigo que lea la huella. Donde se le indica el modelo de lector por favor ?

Re: autentication via Finger print or Face

PostPosted: Mon Sep 05, 2016 5:52 pm
by marca
Silvio.Falconi wrote:With Harbour 3.4
these errors
Code: Select all  Expand view
Warning W8065 Source\\xhbGrFinger.prg 556: Call to function 'ISBLOCK' with no prototype in function _hb_GetParamCbCopy
Warning W8065 Source\\xhbGrFinger.prg 563: Call to function 'ISNIL' with no prototype in function _hb_GetParamCopy
Warning W8075 Source\\xhbGrFinger.prg 801: Suspicious pointer conversion in function hb_staticGRSETLICENSEFOLDER
Warning W8075 Source\\xhbGrFinger.prg 807: Suspicious pointer conversion in function hb_staticGRINSTALLLICENSE
Error E2227 Source\\xhbGrFinger.prg 821: Extra parameter in call to hb_stornl in function hb_staticGRCREATECONTEXT
Warning W8075 Source\\xhbGrFinger.prg 834: Suspicious pointer conversion in function hb_staticGRVERIFY
Warning W8075 Source\\xhbGrFinger.prg 835: Suspicious pointer conversion in function hb_staticGRVERIFY
Error E2227 Source\\xhbGrFinger.prg 839: Extra parameter in call to hb_stornl in function hb_staticGRVERIFY
Warning W8075 Source\\xhbGrFinger.prg 846: Suspicious pointer conversion in function hb_staticGRIDENTIFYPREPARE
Warning W8075 Source\\xhbGrFinger.prg 852: Suspicious pointer conversion in function hb_staticGRIDENTIFY
Error E2227 Source\\xhbGrFinger.prg 853: Extra parameter in call to hb_stornl in function hb_staticGRIDENTIFY
Error E2227 Source\\xhbGrFinger.prg 872: Extra parameter in call to hb_stornl in function hb_staticGRGETIDENTIFYPARAMETERS
Error E2227 Source\\xhbGrFinger.prg 873: Extra parameter in call to hb_stornl in function hb_staticGRGETIDENTIFYPARAMETERS
Error E2227 Source\\xhbGrFinger.prg 882: Extra parameter in call to hb_stornl in function hb_staticGRGETVERIFYPARAMETERS
Error E2227 Source\\xhbGrFinger.prg 883: Extra parameter in call to hb_stornl in function hb_staticGRGETVERIFYPARAMETERS
Warning W8075 Source\\xhbGrFinger.prg 911: Suspicious pointer conversion in function hb_staticGRCAPSTARTCAPTURE
Warning W8075 Source\\xhbGrFinger.prg 931: Suspicious pointer conversion in function hb_staticGRCAPSTOPCAPTURE
Warning W8075 Source\\xhbGrFinger.prg 932: Suspicious pointer conversion in function hb_staticGRCAPSTOPCAPTURE
Warning W8075 Source\\xhbGrFinger.prg 957: Suspicious pointer conversion in function hb_staticGRCAPLOADIMAGEFROMFILE
Error E2227 Source\\xhbGrFinger.prg 970: Extra parameter in call to hb_stornl in function hb_staticGRCAPRAWIMAGETOHANDLE
Warning W8075 Source\\xhbGrFinger.prg 978: Suspicious pointer conversion in function hb_staticGRBIOMETRICDISPLAY
Error E2227 Source\\xhbGrFinger.prg 979: Extra parameter in call to hb_stornl in function hb_staticGRBIOMETRICDISPLAY
Error E2227 Source\\xhbGrFinger.prg 994: Extra parameter in call to hb_stornl in function hb_staticGRGETGRFINGERVERSION
Error E2227 Source\\xhbGrFinger.prg 995: Extra parameter in call to hb_stornl in function hb_staticGRGETGRFINGERVERSION
Warning W8075 Source\\xhbGrFinger.prg 1004: Suspicious pointer conversion in function hb_staticGRCONVERTTEMPLATE
Error E2227 Source\\xhbGrFinger.prg 1005: Extra parameter in call to hb_storc in function hb_staticGRCONVERTTEMPLATE
Error E2227 Source\\xhbGrFinger.prg 1006: Extra parameter in call to hb_storclen in function hb_staticGRCONVERTTEMPLATE
Error E2227 Source\\xhbGrFinger.prg 1018: Extra parameter in call to hb_storc in function hb_staticGREXTRACTEX
Error E2227 Source\\xhbGrFinger.prg 1019: Extra parameter in call to hb_storclen in function hb_staticGREXTRACTEX
Warning W8075 Source\\xhbGrFinger.prg 1026: Suspicious pointer conversion in function hb_staticCGRBASE64TOBIN
Warning W8075 Source\\xhbGrFinger.prg 1040: Suspicious pointer conversion in function hb_staticCGRBIN2BASE64
Warning W8075 Source\\xhbGrFinger.prg 1055: Suspicious pointer conversion in function hb_staticGRISBASE64ENCODING
Warning W8075 Source\\xhbGrFinger.prg 1072: Suspicious pointer conversion in function hb_staticGRENROLL
Error E2227 Source\\xhbGrFinger.prg 1073: Extra parameter in call to hb_storc in function hb_staticGRENROLL
Error E2227 Source\\xhbGrFinger.prg 1074: Extra parameter in call to hb_storclen in function hb_staticGRENROLL
Warning W8075 Source\\xhbGrFinger.prg 1081: Suspicious pointer conversion in function hb_staticGR_SET_SENSOR_CARGO
Warning W8075 Source\\xhbGrFinger.prg 1089: Suspicious pointer conversion in function hb_staticGR_GET_SENSOR_CARGO
*** 17 errors in Compile ***
 


With xharbour
Code: Select all  Expand view

Lines 403, Functions/Procedures 45, pCodes 3197
[1]:Bcc32.Exe -M -c -O2  -tW -v- -X -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -IC:\Work\fwh\include -IC:\Work\bcc582\Include;c:\work\xHarbour\Include  -nObj Obj\xhbGrFinger.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
Obj\xhbGrFinger.c:
Error E2206 Source\\xhbGrFinger.prg 423: Illegal character '#' (0x23)
Error E2449 Source\\xhbGrFinger.prg 423: Size of 'hb_static' is unknown or zero
Error E2141 Source\\xhbGrFinger.prg 423: Declaration syntax error
Error E2206 Source\\xhbGrFinger.prg 426: Illegal character '#' (0x23) in function HB_FUN_funcname
Warning W8019 Source\\xhbGrFinger.prg 426: Code has no effect in function HB_FUN_funcname
Error E2379 Source\\xhbGrFinger.prg 426: Statement missing ; in function HB_FUN_funcname
Error E2206 Source\\xhbGrFinger.prg 437: Illegal character '#' (0x23)
Error E2449 Source\\xhbGrFinger.prg 437: Size of 'hb_static' is unknown or zero
Error E2141 Source\\xhbGrFinger.prg 437: Declaration syntax error
Error E2040 Source\\xhbGrFinger.prg 795: Declaration terminated incorrectly
*** 9 errors in Compile ***





Hello everyone
I have the same problem of silvio . someone managed to solve ?

Re: autentication via Finger print or Face

PostPosted: Mon Sep 05, 2016 6:38 pm
by karinha
Marca, você incorporou a DLL da Griaule?

Marca, you entered the DLL Griaule?

Re: autentication via Finger print or Face

PostPosted: Tue Sep 06, 2016 11:17 am
by marca
João. Olhe ai que se quer passa da compilação.

Re: autentication via Finger print or Face

PostPosted: Tue Sep 06, 2016 6:24 pm
by karinha
Talvez, maybe:

Code: Select all  Expand view

#include "FiveWin.ch"

STATIC xLib

Function Main()

   Local contextId,Ret

   // lChDir("C:\Arquivos de programas\Griaule\GrFinger 4.1 FREE\bin")

   xLib := LoadLibrary( "GrFingerX.dll" )

   Ret:=GrInitialize()

   // ? ret

   contextId:=0

   Ret:=GrCreateContext(@contextId)

   Ret:=GrFinalize()

   FreeLibrary(xLib)

RETURN nil

DLL32 FUNCTION GrInitialize() AS _INT PASCAL LIB xLib
DLL32 FUNCTION GrFinalize() AS _INT PASCAL LIB xLib
DLL32 FUNCTION GrCreateContext(@contextId As _INT) AS _INT PASCAL LIB xLib
 


http://www.griaulebiometrics.com/page/pt-br/fingerprint_sdk/system_requirements

http://www.griaulebiometrics.com/page/pt-br/index

Abraços,

Regards, saludos.