This week I have made some big progress in the application; I have finally been able to detect whether a face is in the picture. On top of being able to find the face I've been able to determine the distance between the eyes (in pixels) as well as the center point of the face and the confidence level if it's a face or not. All of this data per face is being stored in my FaceNamePair which holds all of this information. The plan from here is to use the midpoint of the face along with the eye positions to find a ratio for a distance between the eyes other than pixels. This is because depending on how close or far away the person is to the camera when the picture is taken, the distance will vary even with the same person. However, if we use a ratio, this distance will be a lot more consistent. I will then be creating a dynamic ArrayList of FaceNamePairs which will hold every face/name pair that was created for each picture taken by the app. Then whenever a new picture is taken, it will find the picture and name with the closest ratio and ask whether this is the person in the new picture. The issue that is currently holding me back is saving this list of FaceNamePairs to a file and being able to read them again. This is used for keeping data per session, otherwise currently all data is wiped as soon as the user exits the app; which obviously makes the app useless.
|
garrett moodyThis is my blog about my capstone project. Archives
May 2015
Categories |