Click here to Skip to main content
15,889,720 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI ! I want to ask is there any way to login to your email account using your voice , I am confused to that you would still need your password and email ,I am developing voice based desktop client, If I encrypt my voice it I would still need to match that text to another text , that text needs to be the password right? so is there anyway to login directly by authenticating your voice and open receive mail etc?

What I have tried:

wildcard to use another word instead of password but still it needs email password to be saved in your code
Posted
Updated 23-Sep-16 8:56am

Im not sure if you mean an exact match to the voice, meaning if a male voice is used in setting up the email and then a womans voice says the password, if you want to make sure it was that exact male voice on setup.

In the case you want just a spoken password, it is possible but i think you are over engineering this. Two factor authentication via text or phone call to tell you a code to enter is much more common and in my opinion, user friendly. Also, I don't think it is wise to have people yelling their passwords into a phone when they get frustrated that the way the spoke it on setup isn't the way its being recorded when trying to login. You are also going to have to deal with people going "My password is D A V I D" and have to figure out how to parse out the garbage text (Ex: My password is) and then parse the frustrated/yelling text (that hopefully gets transcribed correctly) as your password.

However, to essentially do Speech to text you have some options.

1) You can use twilios transcription service: REST API: Transcriptions - Twilio[^]

TwiML™ Voice: <Record> - Twilio[^]

2) IBM Watson has speech to text capabilities
Speech to Text | IBM Watson Developer Cloud[^]


So with twilio you would do an outbound call, record that call and use an option to transcribe it.

From that transcription you should be able to get the text, and then decrypt the pass in db, or hash the transcription and compare to password hash in db to then authenticate user.

I think this method is going to create a lot of headaches for you but that would be one approach. If you want to look into two factor authentication, twilio has that capability as well (Authy Two-factor Authentication - Twilio[^])
 
Share this answer
 
v2
Comments
Isma Tipu 23-Sep-16 14:51pm    
I am developing it for visually impaired , so I have to use voice password ,If i use voice recognition it will lay out my password in front of everyone , so e.g if i say "my voice is my password" it logins by matching your voice to stored samples, but this is an email client , e.g gmail has its own credentials how can i eliminate that and use only voice to receive my email? , you are saying Twilio but i guess password hash in db needs to have a password stored right , but it has to be like that when user opens app it asks for samples and then stores them for further login , but still i cant comprehend how to eliminate credentials like email and password
David_Wimbley 23-Sep-16 14:59pm    
What you are trying to solve is exactly what a horde of people at google are trying to solve as well.

https://www.theguardian.com/technology/2016/may/24/google-passwords-android

The hard part is what you are describing is not an easy subject and is still actively researched by many companies (apple/microsoft).

You can also look at integrating with Dragon API

http://www.nuance.com/for-developers/dragon/index.htm
Isma Tipu 23-Sep-16 14:56pm    
Is there any way that i just login using a word but my password is safe nobody hears it. it has to be used by multiple users so i cannot save my password inside code
David_Wimbley 23-Sep-16 15:03pm    
Well in order to authenticate you have to have something to authenticate against. You can't just say these are my users, but I don't have any passwords or any pattern/hash/password to compare it against.

The fact is, you want people to speak their passwords into a phone. Or, you want them to say a sentence and compare their speech pattern. The issue here is if I say something one way when Im sick, my voice may raise an octave or two, or become less scratchy and now I sound nothing like i did when i setup my account.

I think your problem is a lot harder than "just authentication"...you've got a lot of extenuating factors to account for.

You're going to have to go for a 3rd party solution for this. The standard stuff in the .NET Framework and the Windows API's do not support "voice print".

An example of this would be VocalPassword | Voiceprint Verification from Nuance[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900