converting fingerprint template on android - android

I have a finger print scanner connected to an arduino which transmits data to android device through BT,the FPS has only a built in limited capacity of 200 fingerprints and i need a much higher capacity.Is there a way I can transform the fingerprint templates provided by the FPS directly on an android device to a string , number or byte ?

FingerPrint sensor could produce picture of fingerprint or template (list of minutiae.
Template are created from picture by extracting minutiae.
Matching between 2 fingerprint are done on template.
So it's better to store template. It's required less storage and it's more faster (not need to extract minutiae at each match).
Picture could be converted in byte array.
Template are byte array.
Send us more details: What's fingerprint sensor ? Which Fingerprint SDK do you use ?
I have a look to your SDK and it look like a SDK I already used maybe it's another version. I never been able extract template in ISO format to use it outside sensor. And I never been able to extract template and re-inject it in sensor to use it to match.
But you have 2 methods
"DownChar" & "UpChar" to download and upload template in sensor.

Related

How to generate WSQ file from fingerprint template in Android

# https://stackoverflow.com/users/4439179/priyanka-alachiya
"I got successful in generating the required output from this method. Thank you"
How to generate WSQ file from fingerprint template in Android?
Kindly assist with how you generated the wsq file from the fingerprint bitmap.
Regards
Peter
Perhaps your question is wrongly written.
Templates are generated based on the source sample images, the templates are the binary and computer friendly representation of the biometric characteristics of that sample.
The template is a reduced set of information, from which you can't get back the original image.
Think about it as converting a CD song into an MP3 song; you get a reduced representation from the original, but you cannot get back the same song with same quality (or finger image) from the reduced source.
Image -> Template: OK, it is possible
Template -> Image: Not possible

Xamarin Android - Trouble with adding EXIF metadata for accented characters

I'd like to ask you for a hand because I'm in a technical impasse on a Mobile project in Xamarin Android (not Forms nor IOS).
Indeed, in my application, I take a picture via the application and just before sending it to my Blob Storage (on Azure), I modify the file by adding metadata via EXIF (more precisely using the ExifInterface object).
The problem I'm having is that the special characters in my properties (even the COMMENT tag) are replaced by question marks :(
On my side, it is not possible to work without the special characters because my application is used all over the world (Vietnam, Morocco, Egypt or Canada).
The ExifInterface we use is the one from android.media, we tried with the one from the androidx.media version but the result is the same.
We also considered using XMP to add our metadata but a limitation of the Xamarin framework prevents us from doing this (absence of the system.windows.media.imaging library which blocks bitmap manipulation).
We are totally looking for REX or a lead :)
Thanks to you for your time

How to sign a PDF in Android

I have to implement in an Android application a function that allow me to sign a PDF, when i say "sign" I mean the digital signature (First and second name) affixed to the end of the document from the user.
I have access to a Samsung Note 4 (with stylus) then it would not be a problem, "write" on the display.
The question is: there is the possibility to sign a document using some library like itext or I must write a custom function ?
I guess you want to apply an electronic signature on a document using a user's handwriting with a pen. As has said #mkl, 'digital signature' concept is usually applied when using digital certificates and cryptography.
Handwritten electronic signature requirements
People tend to think that the handwritten signature consists of embedding an image, but so that your system has a minimum legal value in case of litigation you will need:
R1 - ensure the identity of the signer
R2 - Uniquely attach signature and document
R3 - protect integrity of document and signature
More or less these are the characteristics of digital signatures.
Handwritten signature on Android
The process on android should be like this:
R2) capture the user graph including biometrics(x,y,time,pressure) using a Canvas. Embed image and biometrics data into document using PDFBox or itext (client or server side)
R1) included biometric data in previous step allows a potential analysis of signature by an expert
R3) I suggest to apply a timestamp over document and signature evidences to protect the integrity and ensure the time of signature. Both itext and PDFBox support it
If you do not need legal value, then apply only the drawing part. The quality of your signature will be determined by the devices characteristics. For example a specific signature tablet can provide also the orientation of the pen
Android links
Drawing on Canvas and save image (see example, you can get pressure and time from event)
PDFBox, inserting image in pdf
PDFBox attach files to pdf
PDFBox digital-signature example with timestamp
You will find similar links for itext. Select the most suitable for your use case and whether you want to execute on Android or in the server side

Is there a way to use the SVM model (trained in matlab) in android studio?

I am trying to combine data process with android app development. I have trained a svm model in matlab using libsvm, and the android app I am working on can obtain data features from a device. What I want is to use this svm model in android studio to predict the new data coming in. Is there a way to only USE the model instead of implement the entire svm algorithm is android studio? Thank you :) p.s. The model is .mat file.
In order to make a prediction you need to save the support vectors x_i, the associated dual variables (the signed alpha's you get from libsvmrtrain) and the bias (-rho you get from libsvmrtrain). Then for making a prediction on a new sample x, you calculate:
where K is the kernel used for learning. Note that libsvm embeds the label y_i into the dual variables, so you can just use the alphas.
The easiest way is to save all the variables you need to a text file (or some binary file you can easily read on the mobile device).

What is the best way to to generate kml file by xls

I am currently doing the android apps to determine the road surface condition. When i have all handphone sensor data in text file format, i need to convert to kml. to get the allignment, i convert the file to xls. Then i have 3 way to convert it.
By android apps to convert the kml.
By manually,
-retrieve coordinate from the file and save it to xls.
-use excel equation to decide the line color by using accelerometer and orientation data
-put to www.earthpoint.us/ExcelToKml.aspx to convert xls to kml
-put the kml to google earth to do analyzing
By automated. could be VB, JAVA and etc. but i m not familiar which program can do it
nicely.
Thanks
I am not completely sure what you are wanting to do here, but if you build this all in android then you can simply use Java Regular Expressions (java.util.regex) to parse out the sensor data into kml. You would need to open the sensor file, parse, and then output into the kml file.
I think you have all the steps to do this manually.
If you are building the app as described in #1, then you don't need this. All those program languages you described, can do what you want.

Categories

Resources