autentication via Finger print or Face

autentication via Finger print or Face

Postby mgsoft » Tue Aug 19, 2014 1:56 pm

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.
Saludos,

Eduardo
User avatar
mgsoft
 
Posts: 422
Joined: Mon Aug 17, 2009 12:18 pm
Location: España

Re: autentication via Finger print or Face

Postby Antonio Linares » Thu Aug 21, 2014 12:43 pm

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 :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: autentication via Finger print or Face

Postby mgsoft » Fri Aug 22, 2014 9:01 am

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.
Saludos,

Eduardo
User avatar
mgsoft
 
Posts: 422
Joined: Mon Aug 17, 2009 12:18 pm
Location: España

Re: autentication via Finger print or Face

Postby Antonio Linares » Fri Aug 22, 2014 3:06 pm

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 :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: autentication via Finger print or Face

Postby Pablo Botella » Sat Aug 23, 2014 11:56 am

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
User avatar
Pablo Botella
 
Posts: 3
Joined: Sat Aug 23, 2014 9:07 am
Location: Spain

Re: autentication via Finger print or Face

Postby Silvio.Falconi » Sat Aug 23, 2014 2:46 pm

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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6771
Joined: Thu Oct 18, 2012 7:17 pm

Re: autentication via Finger print or Face

Postby Pablo Botella » Sat Aug 23, 2014 3:26 pm

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
Last edited by Pablo Botella on Sat Aug 23, 2014 5:14 pm, edited 3 times in total.
User avatar
Pablo Botella
 
Posts: 3
Joined: Sat Aug 23, 2014 9:07 am
Location: Spain

Re: autentication via Finger print or Face

Postby Silvio.Falconi » Sat Aug 23, 2014 3:27 pm

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 ) \
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6771
Joined: Thu Oct 18, 2012 7:17 pm

Re: autentication via Finger print or Face

Postby Pablo Botella » Sat Aug 23, 2014 5:17 pm

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


try to remove the \ and join lines in case related to this
User avatar
Pablo Botella
 
Posts: 3
Joined: Sat Aug 23, 2014 9:07 am
Location: Spain

Re: autentication via Finger print or Face

Postby Silvio.Falconi » Sun Aug 24, 2014 4:09 pm

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 ***
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6771
Joined: Thu Oct 18, 2012 7:17 pm

Re: autentication via Finger print or Face

Postby elvira » Tue Sep 09, 2014 12:07 pm

Hola

No consigo que lea la huella. Donde se le indica el modelo de lector por favor ?
elvira
 
Posts: 515
Joined: Fri Jun 29, 2012 12:49 pm

Re: autentication via Finger print or Face

Postby marca » Mon Sep 05, 2016 5:52 pm

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 ?
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
marca
 
Posts: 116
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil

Re: autentication via Finger print or Face

Postby karinha » Mon Sep 05, 2016 6:38 pm

Marca, você incorporou a DLL da Griaule?

Marca, you entered the DLL Griaule?
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7214
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: autentication via Finger print or Face

Postby marca » Tue Sep 06, 2016 11:17 am

João. Olhe ai que se quer passa da compilação.
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
marca
 
Posts: 116
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil

Re: autentication via Finger print or Face

Postby karinha » Tue Sep 06, 2016 6:24 pm

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.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7214
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Silvio.Falconi and 95 guests