Convert byte[] array to template

General information about Neurotechnology and its software

Convert byte[] array to template

Postby emilsonpineda » Aug 31, 2017 15:23

Hello, I"m testing VerifyFinger SDK, but I have a doubt, how i can convert Fingerprint template captured with "Digital Persona One Touch SDK" to you template? i using a base 64 string template that convert to byte[], the follow sample code give error.

byte[] bTemplate = Convert.FromBase64String("");
NSubject.FromMemory(new IO.NBuffer(bTemplate));

but, when i use you sdk to take fingerprint and do this working good. I have a fingerprint database taked with "One Touch SDK"

Could you help me to do this work?

Sorry by me English...
emilsonpineda
 
Posts: 4
Joined: Aug 31, 2017 03:34

Re: Convert byte[] array to template

Postby MartynasV » Sep 01, 2017 11:01

emilsonpineda wrote:Hello, I"m testing VerifyFinger SDK, but I have a doubt, how i can convert Fingerprint template captured with "Digital Persona One Touch SDK" to you template? i using a base 64 string template that convert to byte[], the follow sample code give error.

byte[] bTemplate = Convert.FromBase64String("");
NSubject.FromMemory(new IO.NBuffer(bTemplate));

but, when i use you sdk to take fingerprint and do this working good. I have a fingerprint database taked with "One Touch SDK"

Could you help me to do this work?

Sorry by me English...

Hello emilsonpineda,

What template format do you have? What template format does "Digital Persona One Touch SDK" return?
Send one template example to us(here in forum or support@neurotechnology.com).
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 264
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Convert byte[] array to template

Postby emilsonpineda » Sep 02, 2017 16:40

Hi MartynasV,

---------------------------------------------------------------------------------------------------------------------------------------------
this is one template taked with "Digital Persona One Touch SDK", format string base-64
---------------------------------------------------------------------------------------------------------------------------------------------

APhyAcgq43NcwEE3CatxcJwUVZLjbr1W6/oPXWD2QYF5JhcHRNlCvk6PXgf2Cjj0uJ8NLnkp6lYEdhNpOVB61rvotEeCV2aZ2NUu/sUoeSvL/KNdI23YwtNStuAOelo9ILAQRIpVqnC+Xy8FbkGPbzusEbmW5BfRIpWcGqSwdCcB91UP7QL1ws57hV22kncTh1reFqcVslCEhxKwrAfA+hHbdQzS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mbaWKtOWKFR2mSH7479MDUceErNe4WTWeo+D2PeNLhplAyOqH5kqV8NpPTnDTSay+LYxYWbEtKvojWsH3Jrwz3Pc9Q++pSBXXUKPUoiO2k10Rls7iZPd7ThNP8bddOWaZvt+LJurA16nsdAdQnSuwhdbUP33XHzC3zkKOfzNP/xAPMQ8xQcYZs53dydgdU7HF1/P8L/Q03qvdG8A6FEByCrjc1zAQTcJq3EwixRVknNUb3mqL6fSzVRiAiOJ1wFOel2NMwTe2rrKPLGIdN3VUdAw16QPQvGjzn5c+KuyYvL/rtav2r/G9it4wwyiD5qVTOKiRDuTKVqbeStoQ/00upw9sd9zY1ezlyV8O+obYfQojcWe0lWqMotlbPPCRz+F7UDmytxdAl8xgcPyJyFszLTO05Y3wv/t7KeG+Z7ey+qHh7n1IsJJmYuMS92EWPWIUpiGT7DBbkDom+AlG18/+EDQsaHUoQ0UzX3uwTamFYU7yTeKwcmjn77dYY6P0v3CcSuLTWq/QWDMkTodzrPOzen7t8bk2JEhpAdUorxl7yVE9iuUapPqJSrVUEG/ssqiBH3BHaJFEyDkpFmMJ5J06Mm3+2d9BsFjBRJd1il0MkY5YRuGLVxr/O/4OeH0mRXOtAiffrIguk3NTghhbkBwjW8AAAAAAADQE6EAAAAAABAAAACBjQ0A0PKgAAAAAAAkAAAACQAAAGAv1f7+BwAA4MKgAAAAAAAAeKcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkAAAAAAAADQBAAAAAAAAwAAAAAAAAEY4AAAAADh07dcXsUW55Pjmtaf2qxAPAAAJAAAAAAAAALCqqAAAAAAAKAAAAP////8AAAAAAAAAAAAAAAAAAAAA

-------------------------------------------------------------------------------------------------------------------------------------------------
and this is one template taked with DigitalPersona U.are.U RTE SDK
-------------------------------------------------------------------------------------------------------------------------------------------------

Rk1SACAyMAABBAAAAAEAAAFGAWUAxQDFAQAAAFYmQKQBNjpkgNYAlT9hQLcBNDpeQIYAKHFdQIMAFQZbQPIA1DhagOsAlpRZQGMAuilYgLQAJqtXQLMAuI1VQMwArZJTQMYA0pBSQFYAVBlRQFAAPBlRQJ0AtIlRQGUAjoJPQIYAXHhMgE0AvYVMgGABMDhKQMYAN01GgMcAM6REQEEA7YNDQHgBPTdAQKoApYw/QGkBPTc9gFAAnIE8gDsAw4E7QIkAliI5QK0AkZg5QIoAnIM2AFsBKpkyAJsAlRoyAEIA0SkwAKQAkH4vAJkAmxkvAKkAnpUtAIkApSItAM0BVJ8qAAA=

--------------------------------------------------------------------------------------------------------------------------------

I can convert any of these two templates to work with you SDK.

Thanks for you help.
Best Regards
emilsonpineda
 
Posts: 4
Joined: Aug 31, 2017 03:34

Re: Convert byte[] array to template

Postby Martynas » Sep 04, 2017 10:12

Hello,

emilsonpineda wrote:this is one template taked with "Digital Persona One Touch SDK", format string base-64


this one looks like a proprietary Digital Persona template format. If it is true, then you need to use Digital Persona SDK to convert them to ISO/ANSI format template, and then you will be able to use them in our SDK.

emilsonpineda wrote:and this is one template taked with DigitalPersona U.are.U RTE SDK


this one is ANSI/INCITS 378 format template and can be used with our SDK.
Use NSubject.SetTemplateBuffer.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2195
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Convert byte[] array to template

Postby emilsonpineda » Sep 06, 2017 04:10

Hi Martynas

thanks for your help, i was searching how to convert DP_REGISTRATION format to ANSI/ISO format, but not successfully.

I think we will to buy you SDK, even now I will save the fingerprint image since all other SDK"s working with the fingerprint image to create their templates. now they are few, tomorrow they can be much more

there are problems of incompatibility between the SDK vendors

Thanks you very much.
emilsonpineda
 
Posts: 4
Joined: Aug 31, 2017 03:34

Re: Convert byte[] array to template

Postby Martynas » Sep 06, 2017 11:26

Hello,

emilsonpineda wrote:i was searching how to convert DP_REGISTRATION format to ANSI/ISO format, but not successfully.


As far as we know there are two functions in DP SDK, which allows to convert DP template to ANSI/ISO or vice versa:

dpfj_fmd_convert - Convert FMDs from ANSI to ISO format and vice versa.
dpfj_dp_fid_convert - Convert legacy DigitalPersona image (Gold SDK and One Touch SDK) to ANSI or ISO images
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2195
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Convert byte[] array to template

Postby emilsonpineda » Sep 06, 2017 15:38

yes, I tried but it return DP_FAILURE, cannot convert DP_REGISTRATION format to ANSI/ISO, you can convert of ANSI/ISO or vice versa
emilsonpineda
 
Posts: 4
Joined: Aug 31, 2017 03:34

Re: Convert byte[] array to template

Postby Martynas » Sep 07, 2017 05:40

Hi,

emilsonpineda wrote:yes, I tried but it return DP_FAILURE, cannot convert DP_REGISTRATION format to ANSI/ISO, you can convert of ANSI/ISO or vice versa


Usage of the Digital Persona SDK is out of our SDK usage scope. So it would be recommended to contact the scanners manufacturer to find how to perform this operation correctly.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2195
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania


Return to Public

Who is online

Users browsing this forum: AnnaSetera and 2 guests

cron