FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour DigitalPersona SDK
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
DigitalPersona SDK
Posted: Thu Feb 06, 2020 12:42 AM
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 ?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 12:59 PM
She comes with File list?

http://en.pudn.com/Download/item/id/869962.html

Regards.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 01:15 PM
Thanks Karinha,

I'm trying to do it using this:

Code (fw): Select all Collapse
oTem := CreateObject("DPFPShrX.DPFPTemplate.1")
oTem:DESERIALIZE( oRec:Bio )


But now I'm having this error:
Code (fw): Select all Collapse
(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.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 03:06 PM
Se entendi...
If i understood:

Code (fw): Select all Collapse
// 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.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 07:21 PM
Thanks Karinha,
But it 'isn't what I need.
I'm creating the object DPFPVerification from this way:

Code (fw): Select all Collapse
oTem := CreateObject("DPFPShrX.DPFPTemplate")


The problem is happening when I try to do this:
Code (fw): Select all Collapse
oTem:DESERIALIZE( oRec:Bio )


I think it's is happening because oRec:Bio is a BLOB Field, and Deserialize() wants a vbasic BYTEARRAY.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 07:58 PM
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 (fw): Select all Collapse
  HB_Serialize() 
  e 
  HB_DeSerialize()
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 08:06 PM

Karinha,

Eu estou tentando usar o SDK do leitor de biometria DgitialPersona!
I'm trying to use the SDK of the DigitalPersona's reader!

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 08:30 PM
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/viewtopic.php?f=2&t=7426&p=41172&hilit=DigitalPersona#p41172

Abs.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: DigitalPersona SDK
Posted: Thu Feb 06, 2020 09:16 PM

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!

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: DigitalPersona SDK
Posted: Fri Feb 07, 2020 12:33 PM
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.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: DigitalPersona SDK
Posted: Fri Feb 07, 2020 02:36 PM

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

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: DigitalPersona SDK
Posted: Fri Feb 07, 2020 02:54 PM

Silvio, does it come with Visual Basic examples?

Or any examples similar to xHarbour?

Regards.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: DigitalPersona SDK
Posted: Fri Feb 07, 2020 05:10 PM
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 518
Joined: Fri Jun 29, 2012 12:49 PM
Re: DigitalPersona SDK
Posted: Sat Feb 08, 2020 11:53 AM

++1

Posts: 838
Joined: Wed Aug 22, 2007 10:09 AM
Re: DigitalPersona SDK
Posted: Mon Mar 16, 2020 01:01 PM

Hi,

Did you manage to use it under Fivewin?

Thank you.

Saludos / Regards,



FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40