Page 1 of 1

Convert byte[] array to template

PostPosted: Aug 31, 2017 15:23
by emilsonpineda
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...

Re: Convert byte[] array to template

PostPosted: Sep 01, 2017 11:01
by MartynasV
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).

Re: Convert byte[] array to template

PostPosted: Sep 02, 2017 16:40
by emilsonpineda
Hi MartynasV,

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

APhyAcgq43NcwEE3CatxcJwUVZLjbr1W6/oPXWD2QYF5JhcHRNlCvk6PXgf2Cjj0uJ8NLnkp6lYEdhNpOVB61rvotEeCV2aZ2NUu/sUoeSvL/KNdI23YwtNStuAOelo9ILAQRIpVqnC+Xy8FbkGPbzusEbmW5BfRIpWcGqSwdCcB91UP7QL1ws57hV22kncTh1reFqcVslCEhxKwrAfA+hHbdQzSL/RPmnpHlsZqExhbfezpw0aHliGE43I6KJq/MLBxmyCL5HKXtQkrxHyI5OJHZb2GOIHZj9mcPeP+cWMK/itcZDTmbNaFHslKQuxKHDj00uOFukMDRm4gW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d7ThNP8bddOWaZvt+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

Re: Convert byte[] array to template

PostPosted: Sep 04, 2017 10:12
by Martynas
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.

Re: Convert byte[] array to template

PostPosted: Sep 06, 2017 04:10
by emilsonpineda
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.

Re: Convert byte[] array to template

PostPosted: Sep 06, 2017 11:26
by Martynas
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

Re: Convert byte[] array to template

PostPosted: Sep 06, 2017 15:38
by emilsonpineda
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

Re: Convert byte[] array to template

PostPosted: Sep 07, 2017 05:40
by Martynas
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.