Page 1 of 2
DigitalPersona SDK
Posted: Thu Feb 06, 2020 12:42 am
by vilian
Hi Guys,
I'm trying to use DigitalPersona SDK to use biometric readers in our program. I already had sucess to read and save a fingerprint.
The problem is I'm not having sucess to verify a saved fingerprint. There is in the DPFPEngX.DLL of the SDK a object that perform this verification, but I don't know how to use it in FWH.
The object is:
DPFPVerification
The DPFPVerification object performs the system function of fingerprint verification, which is a one-toone comparison of a fingerprint feature set with a fingerprint template produced at enrollment that returns a decision of match or non-match.
Verify Method
Performs the system function of fingerprint verification and specifies a comparison decision based on the
requested FAR set by the FARRequested property.
Syntax
Dim oVerificationResult As DPFPVerificationResult
Set oVerificationResult = object.Verify(
ByVal oVerificationFeatureSet As Object,
ByVal oFingerprintTemplate As Object)
Could you help me ?
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 12:59 pm
by karinha
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 1:15 pm
by vilian
Thanks Karinha,
I'm trying to do it using this:
Code: Select all
oTem := CreateObject("DPFPShrX.DPFPTemplate.1")
oTem:DESERIALIZE( oRec:Bio )
But now I'm having this error:
Code: Select all
(DOS Error -2147352567) WINOLE/1007 Tipo de variável incorreto. (0x80020008): DPFPShrX.DPFPTemplate.1
I think it's happening because field BIO is an ARRAY OF BYTES that I saved in a BLOB field.
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 3:06 pm
by karinha
Se entendi...
If i understood:
Code: Select all
// DPFPEngX.DLL
#DEFINE DLL_STRING_OLE "DPFPEngX"
#IFDEF __XHARBOUR__
TRY
oDpfpEngX := GetActiveObject( DLL_STRING_OLE )
CATCH
TRY
oDpfpEngX := CreateObject( DLL_STRING_OLE )
CATCH
MsgStop( "ERROR!", "ERROR!" )
END
END
#ELSE
oDpfpEngX := TOleAuto():New(DLL_STRING_OLE)
IF oDpfpEngX:hObj == 0
MsgStop( "ERROR!", "ERROR!" )
ENDIF
#ENDIF
Regards.
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 7:21 pm
by vilian
Thanks Karinha,
But it 'isn't what I need.
I'm creating the object DPFPVerification from this way:
Code: Select all
oTem := CreateObject("DPFPShrX.DPFPTemplate")
The problem is happening when I try to do this:
I think it's is happening because oRec:Bio is a BLOB Field, and Deserialize() wants a vbasic BYTEARRAY.
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 7:58 pm
by karinha
Não entendo o que você quer fazer Vilian, pois é algo novo. Você já viu:
I don't understand what you want to do Vilian, as it is something new. Have you seen:
Code: Select all
HB_Serialize()
e
HB_DeSerialize()
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 8:06 pm
by vilian
Karinha,
Eu estou tentando usar o SDK do leitor de biometria DgitialPersona!
I'm trying to use the SDK of the DigitalPersona's reader!
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 8:30 pm
by karinha
Ele deve ser novo no mercado, pois não tem nenhuma documentação sobre o mesmo.
Veja se ele não tem a mesma lógica do SDK da Griaule:
http://www.pctoledo.com.br/forum/viewto ... ona#p41172
Abs.
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 9:16 pm
by vilian
Este SDK é o do próprio fabricante do leitor. Quando vc compra, vem junto com o equipamento, então não teria custo adicional para o cliente. Esse da Griaule tem que comprar as licenças e é bem caro!
Re: DigitalPersona SDK
Posted: Fri Feb 07, 2020 12:33 pm
by karinha
Vilian, como ele(leitor) é nacional, o melhor, é você criar um tópico no
http://www.pctoledo.com.br/forum/, creio terás mais chances de ajuda por lá. Abs.
Abs.
Regards.
Re: DigitalPersona SDK
Posted: Fri Feb 07, 2020 2:36 pm
by Silvio.Falconi
A few years ago I purchased digitalpersona finger, a kind of mouse where I can put my thumb, in my package there is a disk with many examples in different programming languages, a long time ago I asked on this forum without ever having had help on the matter . So I tell you that I would also be interested in using the machine to access my programs.
Griaule sources harbour are not compatible with digitalpersona
Re: DigitalPersona SDK
Posted: Fri Feb 07, 2020 2:54 pm
by karinha
Silvio, does it come with Visual Basic examples?
Or any examples similar to xHarbour?
Regards.
Re: DigitalPersona SDK
Posted: Fri Feb 07, 2020 5:10 pm
by vilian
Re: DigitalPersona SDK
Posted: Sat Feb 08, 2020 11:53 am
by elvira
++1
Re: DigitalPersona SDK
Posted: Mon Mar 16, 2020 1:01 pm
by MOISES
Hi,
Did you manage to use it under Fivewin?
Thank you.