Capturing live photo with camera in android

I want to develop a payment application. To do this, you need to shoot live images from the camera. By live image I mean that the image should be from a person, not from an image of a person.

But if I take an image from an image of a person that is not a live image. Hope I can make you understand.

+2


source to share


2 answers


I think you should use human face recognition.

FaceDetector.Face

The face contains all the information that identifies the location of the face in the bitmap.

( Face recognition concept )



Face detection is the process of automatically detecting a person's face on a visual medium (digital image or video). The detected face is reported in a position with an appropriate size and orientation. Once the face is detected, landmarks such as the eyes and nose can be found on it.

Here are some of the terms we use when discussing face detection and the various functionality of the Mobile Vision API.

Face recognition automatically detects if two faces can match one person. Please note that the Google Face API currently only provides features for face recognition, not face recognition. Face tracking extends face detection to video sequences. Any person who appears in the video for any length of time can be tracked. That is, faces that are found in successive video frames can be identified as the same face. Please note that this is not a form of facial recognition; this mechanism simply draws conclusions based on the position and movement of the face (s) in the video sequence. A landmark is the landmark of a person. The left eye, right eye, and base of the nose are examples of landmarks. The Face API provides the ability to find landmarks on a detected face.The classification determines whether a particular facial feature is present. For example, a face can be classified as to whether its eyes are open or closed. Another example is a smiling face or not.

available from API level 1.

Implement facial recognition in your application. I hope that with the help of this library you will be able to distinguish a person from a person image.

Here's an example

-1


source


Icche Guri do you have any solution for capturing live images only?



-2


source







All Articles