Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert SampleFormat Intermediate to PngImg or PngImg to Intermediate #49

Closed
rangerisrael opened this issue Oct 19, 2023 · 7 comments
Closed

Comments

@rangerisrael
Copy link

rangerisrael commented Oct 19, 2023

sir @a-bronx it's possible to convert PNG Image to Intermediate sample format or Intermediate to Png Image Format?

@rangerisrael rangerisrael changed the title sir @a-bronx it's possible to convert PNG Image to Intermediate sample format or Intermediate to PngImage Format? Convert SampleFormat Intermediate to PngImg or PngImg to Intermediate Oct 19, 2023
@a-bronx
Copy link
Member

a-bronx commented Oct 19, 2023

"Intermediate -> PNG" is impossible in principle, because in the Intermediate format all the original image information is lost, only a set of fingerprint features is stored.

"PNG -> Intermediate" requires a call to the DigitalPersona Fingerprint Engine to convert the image into a feature set. The library does not provide access to the engine, but you can get DigitalPersona SDK which allows this.

@a-bronx a-bronx closed this as completed Oct 19, 2023
@rangerisrael
Copy link
Author

@a-bronx can you give sample how I convert Png to Intermediate?

@rangerisrael
Copy link
Author

@a-bronx what is encoded in Intermediate Sample Format it is base64 / Utf8 / base64 url?

@a-bronx
Copy link
Member

a-bronx commented Oct 23, 2023

can you give sample how I convert Png to Intermediate?

Such sample is a part of the DigitalPersona SDK, you need to obtain the SDK first.

what is encoded in Intermediate Sample Format it is base64 / Utf8 / base64 url?

A fingerprint feature set in a DigitalPersona proprietary format.

@rangerisrael
Copy link
Author

rangerisrael commented Oct 23, 2023

can you give sample how I convert Png to Intermediate?

Such sample is a part of the DigitalPersona SDK, you need to obtain the SDK first.

what is encoded in Intermediate Sample Format it is base64 / Utf8 / base64 url?

A fingerprint feature set in a DigitalPersona proprietary format.

@a-bronx yes I already implement the sdk for digital persona at I get fingerprint image accurately, I just want to know how could convert Png Image to Intermediate

@rangerisrael
Copy link
Author

image

@a-bronx
Copy link
Member

a-bronx commented Oct 23, 2023

I already implement the sdk for digital persona at I get fingerprint image accurately,

I do not understand what do you mean by this? DigitalPersona Fingerprint SDK is a commercial product, which contains a fingerprint engine (a native Windows dynamic library) and distributed by HID Global. If you have purchased the SDK already, then you should have samples of the code with the distributives, as well as contacth of the SDK support team which can help you.

I just want to know how could convert Png Image to Intermediate

You need to invoke the DigitalPersona Fingerprint Engine functions. You cannot do it in JavaScript, as this is a native API, and it is out of the scope of the @digitalpersona/devices library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants