Sunday, 7 April 2013

Silent Password Creation using matlab

Here we are going to create silent password.We can do this using both from a video file or from live streaming.The main thing is that he camera should focus on the lip.It should track the lip movement.The key idea is that we are going to take a threshold value,using that particular value we are going to check whether the password is wrong or right.We will track the lip movement,if the movement is beyond threshold then wrong password otherwise right.



Well here are the steps we need to do to create a silent password with matlab :

1.Take video of lip movement or record using webcam.

2.Now use a detection algorithm algorithm from here
(Note : if you are using live detection you need to track the motion using another method,that code is also available in this blog,here is the link.

3.Now what you need to do is that you need to set the threshold value.

Threshold value :

Now the threshold value can be set or generated in many ways.I have done it in one way what i am going to tell you but you can follow different approach. 

i.I have calculated the no of frames between one lip touching frame to the next one.In live streaming case the threshold should be given a bit large for less errors.

ii..For my case the calculated frame no is the threshold.If you find any better approach please let me know through comment.

4.So once the threshold is calculated your prog is okk.

5.Now simple calculation if detected result is beyond threshold then rejected otherwise accepted.





2 comments:

  1. You've made some fantastic points, I think all of them come under the importance of attention to detail, if you get that right you're certainly off to a good start.

    ReplyDelete
  2. Plz send me the matlab code for lip detect and lip motion detect, face detect, eyes, nose. on jagmohanthakur43@yahoo.com

    ReplyDelete

Note: only a member of this blog may post a comment.