Click here to Skip to main content
11,438,797 members (71,080 online)

.NET Framework

 
GeneralRe: Nlog for .Net compact Pin
TalSt28-Jan-15 20:02
memberTalSt28-Jan-15 20:02 
News.NET projects in koramangala,bangalore Pin
raji.1138716-Nov-12 23:24
memberraji.1138716-Nov-12 23:24 
News2013 final year IEEE projects Pin
raji.1138716-Nov-12 23:20
memberraji.1138716-Nov-12 23:20 
QuestionWebsite Developemnt Pin
radha123 from Hyderabad15-Nov-12 2:39
memberradha123 from Hyderabad15-Nov-12 2:39 
AnswerRe: Website Developemnt Pin
Richard MacCutchan15-Nov-12 3:41
mvpRichard MacCutchan15-Nov-12 3:41 
GeneralRe: Website Developemnt Pin
Pete O'Hanlon15-Nov-12 4:00
protectorPete O'Hanlon15-Nov-12 4:00 
GeneralRe: Website Developemnt Pin
Richard MacCutchan15-Nov-12 5:12
mvpRichard MacCutchan15-Nov-12 5:12 
GeneralRe: Website Developemnt Pin
Paul Conrad15-Nov-12 11:37
memberPaul Conrad15-Nov-12 11:37 
AnswerRe: Website Developemnt Pin
jschell15-Nov-12 9:07
memberjschell15-Nov-12 9:07 
GeneralRe: Website Developemnt Pin
dojohansen20-Nov-12 7:02
memberdojohansen20-Nov-12 7:02 
AnswerRe: Website Developemnt Pin
Zaf Khan19-Nov-12 18:24
memberZaf Khan19-Nov-12 18:24 
Questionis Windows-8 can run Webservice that work with FrameWork3.5? Pin
goldsoft11-Nov-12 10:08
membergoldsoft11-Nov-12 10:08 
AnswerRe: is Windows-8 can run Webservice that work with FrameWork3.5? Pin
n.podbielski13-Nov-12 22:08
membern.podbielski13-Nov-12 22:08 
QuestionSpeech Recognition (System.speech) Pin
saurabh orange vyas10-Nov-12 1:10
membersaurabh orange vyas10-Nov-12 1:10 
I am facing many problems with .net framework's speech recognition technology

Here is my code it checks only for 2 choices black and white but when i say 1 it changes background color to white(this is really weird) I have already done computer training and even when i say 1 and it thinks it detected it right i get a confidence of 0.9 which blows my mind

Imports System.Speech.Synthesis
Imports System.Speech.Recognition



Public Class Form1





Dim speaker As New SpeechSynthesizer
Public WithEvents recog As New SpeechRecognitionEngine

Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
recog.RecognizeAsyncStop()
recog.Dispose()

End Sub


Private Sub getcolorintoarray()





End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
speaker.SpeakAsync("Hello")

Dim grammarbuilder As New System.Speech.Recognition.GrammarBuilder

Dim choices As New System.Speech.Recognition.Choices({"Black", "White"})


grammarbuilder.Append(choices)



Dim grammar As New System.Speech.Recognition.Grammar(grammarbuilder)


recog.LoadGrammar(grammar)

recog.SetInputToDefaultAudioDevice()

recog.RecognizeAsync(RecognizeMode.Multiple)


End Sub

Private Sub recog_SpeechRecognized(ByVal sender As Object, ByVal e As System.Speech.Recognition.SpeechRecognizedEventArgs) Handles recog.SpeechRecognized





If e.Result.Confidence > 0.8 And e.Result.Text = "Black" Then

MsgBox(e.Result.Confidence)
Me.BackColor = Color.Black

ElseIf e.Result.Confidence > 0.8 And e.Result.Text = "White" Then
MsgBox(e.Result.Confidence)
Me.BackColor = Color.White

End If



End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
recog.RecognizeAsyncStop()

End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

recog.RecognizeAsync(RecognizeMode.Multiple)


End Sub
End Class
AnswerRe: Speech Recognition (System.speech) Pin
Eddy Vluggen10-Nov-12 8:19
memberEddy Vluggen10-Nov-12 8:19 
GeneralRe: Speech Recognition (System.speech) Pin
saurabh orange vyas10-Nov-12 22:15
membersaurabh orange vyas10-Nov-12 22:15 
GeneralRe: Speech Recognition (System.speech) Pin
Richard MacCutchan10-Nov-12 22:31
mvpRichard MacCutchan10-Nov-12 22:31 
GeneralRe: Speech Recognition (System.speech) Pin
saurabh orange vyas10-Nov-12 22:49
membersaurabh orange vyas10-Nov-12 22:49 
GeneralRe: Speech Recognition (System.speech) Pin
Richard MacCutchan10-Nov-12 23:11
mvpRichard MacCutchan10-Nov-12 23:11 
GeneralRe: Speech Recognition (System.speech) Pin
saurabh orange vyas10-Nov-12 23:15
membersaurabh orange vyas10-Nov-12 23:15 
GeneralRe: Speech Recognition (System.speech) Pin
Richard MacCutchan10-Nov-12 23:29
mvpRichard MacCutchan10-Nov-12 23:29 
GeneralRe: Speech Recognition (System.speech) Pin
saurabh orange vyas10-Nov-12 23:47
membersaurabh orange vyas10-Nov-12 23:47 
GeneralRe: Speech Recognition (System.speech) Pin
Richard MacCutchan11-Nov-12 1:53
mvpRichard MacCutchan11-Nov-12 1:53 
GeneralRe: Speech Recognition (System.speech) Pin
saurabh orange vyas11-Nov-12 2:01
membersaurabh orange vyas11-Nov-12 2:01 
GeneralRe: Speech Recognition (System.speech) Pin
Eddy Vluggen10-Nov-12 23:49
memberEddy Vluggen10-Nov-12 23:49 
GeneralRe: Speech Recognition (System.speech) Pin
saurabh orange vyas11-Nov-12 0:55
membersaurabh orange vyas11-Nov-12 0:55 
GeneralRe: Speech Recognition (System.speech) Pin
Eddy Vluggen11-Nov-12 1:03
memberEddy Vluggen11-Nov-12 1:03 
GeneralRe: Speech Recognition (System.speech) Pin
n.podbielski13-Nov-12 22:13
membern.podbielski13-Nov-12 22:13 
GeneralRe: Speech Recognition (System.speech) Pin
Bert Mitton27-Nov-12 8:31
memberBert Mitton27-Nov-12 8:31 
QuestionEnabling my app to call a remote service Pin
RugbyLeague8-Nov-12 5:26
memberRugbyLeague8-Nov-12 5:26 
AnswerRe: Enabling my app to call a remote service Pin
Eddy Vluggen8-Nov-12 10:32
memberEddy Vluggen8-Nov-12 10:32 
GeneralRe: Enabling my app to call a remote service Pin
RugbyLeague9-Nov-12 0:31
memberRugbyLeague9-Nov-12 0:31 
GeneralRe: Enabling my app to call a remote service Pin
Eddy Vluggen10-Nov-12 8:16
memberEddy Vluggen10-Nov-12 8:16 
QuestionPropertygrid Pin
rajeshsharma1116-Nov-12 2:51
memberrajeshsharma1116-Nov-12 2:51 
AnswerRe: Propertygrid Pin
Eddy Vluggen6-Nov-12 10:05
memberEddy Vluggen6-Nov-12 10:05 
Questionavoid click event Pin
neeraj@max4-Nov-12 20:41
memberneeraj@max4-Nov-12 20:41 
AnswerRe: avoid click event - Repost Pin
Richard MacCutchan4-Nov-12 22:47
mvpRichard MacCutchan4-Nov-12 22:47 
GeneralRe: avoid click event - Repost Pin
neeraj@max5-Nov-12 0:30
memberneeraj@max5-Nov-12 0:30 
GeneralRe: avoid click event - Repost Pin
Richard MacCutchan5-Nov-12 4:07
mvpRichard MacCutchan5-Nov-12 4:07 
AnswerRe: avoid click event Pin
Abhinav S5-Nov-12 0:57
mvpAbhinav S5-Nov-12 0:57 
GeneralRe: avoid click event Pin
neeraj@max5-Nov-12 1:07
memberneeraj@max5-Nov-12 1:07 
AnswerRe: avoid click event Pin
Abhinav S5-Nov-12 1:23
mvpAbhinav S5-Nov-12 1:23 
GeneralRe: avoid click event Pin
neeraj@max5-Nov-12 1:43
memberneeraj@max5-Nov-12 1:43 
AnswerCross posted from C# forum Pin
Pete O'Hanlon5-Nov-12 2:01
protectorPete O'Hanlon5-Nov-12 2:01 
QuestionHow to call programetically the manged DLL from unmanaged dll ? Pin
litu kumar30-Oct-12 22:32
memberlitu kumar30-Oct-12 22:32 
AnswerRe: How to call programetically the manged DLL from unmanaged dll ? Pin
Richard MacCutchan30-Oct-12 23:59
mvpRichard MacCutchan30-Oct-12 23:59 
AnswerRe: How to call programetically the manged DLL from unmanaged dll ? Pin
Abhinav S4-Nov-12 6:15
mvpAbhinav S4-Nov-12 6:15 
Question.Net Application SAP Crystal Report Slow at First Load Pin
ipynpark27-Oct-12 16:47
memberipynpark27-Oct-12 16:47 
QuestionnVLC Pin
Manivignesh26-Oct-12 1:38
memberManivignesh26-Oct-12 1:38 
AnswerRe: nVLC Pin
Dave Kreskowiak26-Oct-12 3:24
mvpDave Kreskowiak26-Oct-12 3:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150506.1 | Last Updated 5 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid