Click here to Skip to main content
15,887,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am having speech recognization code which is developed by C# wpf application. I want to use this application in asp.net webpage. Can any one help me to solve the probelm
Posted
Comments
R. Giskard Reventlov 19-Jun-12 17:04pm    
What have you already tried for yourself?

1 solution

It's a difficult one as a webpage doesn't have access to the local hardware and therefore doesn't have access to the audio stream.

There are a couple of ways you could work around this:

1. Convert your WPF code to Silverlight code as Silverlight does have access to web cam and microphone resources.

2. Deploy a WPF windows application which does the recognition from the website via ClickOne. Pass any recognised phrases to the web server via a web service and use ajax/postbacks within your website to get access to the phrases. I've used this process for integrating biometrics into a website. To reduce the latency, maintain a permanent AJAX request which the response is held up until the server has a response. It saves the delay introduced by implementing checks on a polling bases. Doing this works well be it's important to consider the web gardening implications and memory requirements of the web server.

ClickOnce Deployment[^]
 
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