In-app, I have to compare live recording from previously locally stored voice command if it matches(not only text but also identified person's voice) then perform necessary action.
1-match voice commands from the same person.
2-match command 's text.
I applied many ways but none are working as per my expectation.
First: use Speech to text Library like OpenEars,SpeechKit but these libraries convert only text from speech.
Result: Failed As My expectation
Second:(Audio Finger printing)
acrcloud Library : in this library, I record a command and stored that mp3file on acrcloud server and match with live recording(spoken by me) it doesn't match but when I play the same recording(recorded MP3 file of my voice ) which is uploaded to the acrcloud server then it matches. Result: Failed As My expectation
API.AI : in this library,it is like speech to text ,I stored some text command on his server and then anyone speaks the same command the result get success. Result: Failed As My expectation
Please Suggest me how to solve this problem for iOS Application