# 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
Related
I obtained malware samples from this source for a school analysis project. (https://github.com/ashishb/android-malware)
But a lot of the samples are in binary format. Why this is a case and how can I convert it back to normal form?
Also I notice SHA1 being mentioned multiple times from different sources. What is the significant of this value? Why they giving this out instead of source code?
The significant purpose of putting sha is to show the identity of app, Each apk has unique sha. You can search about the details of sha on the virus total platform Using Sha you can see detailed analysis of apk without analysing it on your own.
Source code is present in all the files if they are not corrupted.
The apks are shared by removing extension and renaming with hash i.e., Sha
In order to revert back to normal file excute following commands
mv $path/fileName $path/filename.apk
I've build an application that uses Tesseract (V3.03 rc1) to identify some specific text strings. These are, unfortunately, printed on a custom font that requires that I build my own traineddata file. I've built the application on both iOS (using https://github.com/gali8/Tesseract-OCR-iOS for inspiration) and Android (using https://github.com/rmtheis/tess-two/ for inspiration as well).
The workflow for both platforms is as follows:
I select a bounding box on the preview screen for where I can crop out the relevant text, and crop the image accordingly.
I use OpenCV to get a binary image (using OpenCV's adaptive threshold function with the same parameters for both platforms)
I pass this binary image to Tesseract. Both platforms (Android and iOS) use the same traineddata file.
And yet, iOS recognizes the text strings perfectly, while Android keeps misidentifying certain characters (6s for Ss, As for Hs).
On both platforms, I use the same white list string, I disable load_type_dawg and load_system_dawg, and also choose to save the blob choices.
Has anyone encountered this kind of situation before? Am I missing a setting on Android that's automatically handled in iOS? Is there something particular about Android that hasn't crossed my mind?
Any thoughts or advice would be greatly appreciated!
So, after a lot of work, I found out what was wrong with my Android application (thankfully, it wasn't an issue with Tesseract at all). As I'm more familiar with iOS apps than Android, I wasn't sure how I could load the traineddata file onto the application without requiring the user to have the file loaded on their external storage device. I found inspiration in this project (http://www.codeproject.com/Tips/840623/Android-Character-Recognition), as they autoload the trained data file.
However, I misunderstood how it worked. I originally thought that the TessDataManager did a file lookup on the project's local tesseract/tessdata folder in order to get the trained data file (as I do this also on iOS). However, that's not what it does. It, rather, checks the internal file structure (data/data/projectname/files/tesseract/tessdata/traineddatafilegoeshere) to see if the file exists and if it doesn't, it copies over the trained data file it keeps in the Resources/Raw directory. In my case, it defaulted to the eng file, so it never read my custom font file.
Hopefully this helps someone else having similar issues. Thanks to Robin and RmTheis for all of your help!
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.
How do I use the ADT Translation Manager (http://developer.android.com/sdk/installing/installing-adt.html#tmgr)? After I install it, there's a menu option to Upload String for Translation, but that tells me I don't have a translation project yet.
When I go to the Play Store to create a project, it requires me to upload files to get started, and I would have to finish the flow and pay in order for it to create the project.
How do I use the plugin to upload the files? I have a rather large project, and it would be an enormous pain to upload the files one at a time through the web tool.
I'm not familiar with that, but I manage my translation by my own.
transai - https://github.com/Jintin/transai
It's a command line tool I wrote to manage my Android & iOS text.
It can generate csv files from your strings.xml, and you can do translate according the csv file.
After you finish, you can transform it back to strings.xml.
It more readable for now IT man to help me do translate this way.
You can give it a try.
If you have any further question, you can leave issue to me.
Thank you.
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.