Take thumb impression android - android

I need to take thumb impression in my android pad application.When the user press the thumb on the pad screen his thumb impression i need to get in JPEG format image.Please any one know replay.

To my knowledge this can't be done.
Capacitative screens (which would detect a thumb) are not sensitive enough to get a fingerprint. Cool idea though... Maybe consider using the camera (though it would have to be pretty high quality).

I can suggest you one alternative rather than taking finger print .. There few apps developed on android which basically recognizes your pressure not your fingerprint and it resembles that they are taking your finger print.
Have a look at it.. I don't know if it solves your problem. !
5 Best fingerprint lock app for Android

Android does not do fingerprint recognition. If you are talking about those apps that "claim" to do it by you holding your finger against the screen ... its a bit of a con. They don't really scan your finger print ... they are just testing area and pressure (if that).
First, don't ask for code. This place is not for giving out code but snippet or help. You're asking for someone to publish complex code here...that's ridiculous.
Second, if there was a library available for FingerPrint recognition. I highly doubt you could even do anything with it. Why?
Phones don't have hardware to capture fingerprints. A screen cannot capture images but only pressure levels and they aren't really accurate too. The camera on the phone cannot capture macros unless you mount a microscope lense.
So if you really want my advice, give up on it. With the current hardware available it is not coming soon to android. When there will be hardware I believe there will be an api provided for it.
What you can do on the other hand is voice recognition, face recognition. I don't have any idea how it can be done but the hardware is there. You could even make a hand recognition.
Finger prints forget it.

Related

Facial expressions identification like snapchat

I am working on app that detect eye blink of the user. I have been searching the web for 2 days but still don't have clear vision about how this can be done.
As far as i have knew is that the system supports face detection which is detecting if there is a face in the picture and locating it.
But this works only with images and detect only faces which is not what i need. I need to open an camera activity and directly detect the face of the user and locate his eyes and other facial parts and wait till he blinks, like when you long click on the screen on snap chat.
I have seen a lot about open-cv but still not sure what it is or how to use it or if it seize my goals.
Note: snap chat has no API released for the technology used, and even it doesn't let anyone to talk to the engineers behind this technology.
I know that openCV has the ability to allow image processing on the device's camera feed (as opposed to only being able to process still images).
Here is an introductory tutorial on eye detection using openCV:
http://romanhosek.cz/android-eye-detection-and-tracking-with-opencv/
If you can't find eye-blink detection tutorials in a google search, I think you'll have to create the code for eye-blink detection on your own, but I think openCV will be a helpful tool in doing so. There are lots of beginner openCV tutorials to help you get started.

How to develop a Smart Magnifier using the mobile camera?

I would like to use the mobile camera and develop a smart magnifier that can zoom and freeze-frame what we are viewing, so we don't have to keep holding the device steady while we read. Also should be able to change colors as given in the image in the link below.
https://lh3.ggpht.com/XhSCrMXS7RCJH7AYlpn3xL5Z-6R7bqFL4hG5R3Q5xCLNAO0flY3Fka_xRKb68a2etmhL=h900-rw
Since i'm new to android i have no idea on how to start, do you have any idea?
Thanks in advance for your help :)
I've done something similar and published it here. I have to warn you though, this is not a task to start Android development with. Not because of development skills, the showstopper here is a need for massive amount of devices to test it on.
Basically, two reasons:
Camera API is quite complicated and the different HW devices behave differently. Forget about using emulator, you would need a bunch of real HW devices.
There is a new API, Camera2 for platform 21 and higher, and the old Camera API is deprecated (kind of 'in limbo' state).
I have posted some custom Camera code on GitHub here, to show some of the hurdles involved.
So the easiest way out in your situation would be to use camera intent approach, and when you get your picture back (it is a jpeg file) just decompress it and zoom-in to the center of the resulting bitmap.
Good Luck

how can i set the camera function that anti-shake(image Stabilizer) at android

I've made a Camera App.
I want to add the functionality of anti-shake.
But I could not find the setting for anti-shake(image Stabilizer).
Plz Help me!!
Usually Image Stabilizer is a built-in camera feature, while OIS (Optical-Image-Stabilization) is a built-in hardware feature; by now really few devices support them.
If device hasn't a built-in feature, i think you cannot do anything.
Android doesn't provide a direct API to manage image stabilization, but you may try:
if android.hardware.Camera.getParameters().getSupportedSceneModes(); contains steadyphoto keyword (see here), your device supports a kind of stabilization (usually it shots when accelerometer data indicates a "stable" situation)
check android.hardware.Camera.getParameters().flatten(); for a "OIS" or "image-stabilizer" keyword/values or similar to use in Parameters.set(key, value);. For the Samsung Galaxy Camera you should use parameters.set("image-stabilizer", "ois");//can be "ois" or "off"
if you are really boring you may try reading the accelerometer data and decide to shot when the device looks steady.
Good luck.
If you want to develop software image stabilizer, OpenCV is helpful library for you. Following is the one of the way to stabilize the image using Feature.
At first, you should extract feature from image using feature extractor like SIFT, SURF algorithm. In my case, FAST+ORB algorithm is best. If you want more information, See this paper
After you get the features in images, you should find matching features with images.there are several matcher but Bruteforce matcher is not bad. If Bruteforce is slow in your system, you should use a algorithm like KD-Tree.
Last, you should get geometric transformation matrix which is minimize error of transformed points. You can use RANSAC algorithm in this process.
You can develop all this process using OpenCV and I already developed it in mobile devices. See this repository

Working with Fingerprint Detection from an image in android

I intend to work on a project, where I have to detect fingerprint from an image captured by android's camera.
I have no prior knowledge on fingerprint processing. Is there any open source library in android to accomplish the task? If not, then from which point can I have to start to gain adequate knowledge about fingerprint detection and processing?
I have not worked with image processing before. So there is so much to cover up, i can do that. But I want to know the exact starting point so that I don't have to circle around ...
Any links, papers or books related on this topic will be very convenient.
Thanks in advance!
How will the phone camera take an image like this? Fingerprints are acquired using specialized sensors.
If you're talking about getting fingerprint data from a normal photograph of a finger, I doubt you'll be able to distinguish between fingerprints accurately.

Video camera auto focus

I developed a small video camera application. It all works fine except focus.
I understand I need to call camera.autofocus, but I don't really know where is the right place to put the call it.
Anyone ever succeeded in autofocusing a video camera on android?
Thank
Eli
It's probably a matter of preference based on how you think users will use your app.
I think a common convention is to do an auto-focus when the user touches the scene in the preview. Most OEM camera apps seem to do this.
Doing auto-focus after zooming is also a common thing.
Finally, you might want to have a look at the zxing project (bar code scanner app) which has a nifty continuous auto focus approach that might be of use, though since youre capturing video, it might not be ideal as the focus transitions might be too noticeable.
http://code.google.com/p/zxing/source/browse/trunk/android/src/com/google/zxing/client/android/camera/AutoFocusCallback.java?r=1698

Categories

Resources