I have spent hours looking for this and can't figure it out. I have a program that I have made which I would like to add voice recognition to (all it does is a few simple commands like time, date, things like that...it's just for fun) and I know I have some form of SAPI on my computer because I had to include sapi.h to get the voice synthesis to work (and that's works fine by the way) but I can't figure out for the life of me how to use the voice recognition.
It appears people have already asked about C++ voice recognition on here so I apologize if this is just a duplicate but none of the others seemed to answer my question, perhaps I'm just missing something (I'm fairly new to C++ so it's very possible) but I could really use some help here.
Thanks a bunch!
----edit----
The code in the link has an issue on my computer, it can't find the file "atlbase.h" which then of course is causing all sorts of other problems (hopefully these will all be resolved when I fix the atlbase.h problem). I found this site which seems to offer an explanation which shows up on quite a few other sites and appears to work, but I don't know how to get to the file that everyone is changing.
https://answers.unrealengine.com/questions/12757/error-cannot-find-atlbaseh-when-compiling-in-vs201.html
Could someone please help me as to where the file they're all changing is?
Related
I'm trying to understand how the SelectionIdBuilder works. I'm especially trying to understand when and how to use .withMeasure and .withSeries. The information in GitHub (here) didn't enlighten me. I can't find any real examples of code using either .withMeasure or .withSeries.
I got my visual to work, using only .withCategory, based on other visuals I saw, but I want to really understand the SelectionIdBuilder.
I'd sure appreciate an education regarding how SelectionIdBuilder works and where I might find more detailed info about it.
I'm learning C++ for half a year now (so programming in general) and this site always had the answers I was looking for. But now I came to the point where I need to ask as I couldn't find anything related to my question.
So I want to write a program that takes a screenshot of a particular area of the screen. This screenshot will ONLY contain playcards (so for example Hearth, Seven). What it should do now is return me which card it is, so the symbol and the number/letter.
I already made some researches and the most mentioned thing was the library "OpenCV".
So my question now: First is it even possible with my experience to write something like that?
If so, is this library the way to go? It seems really strong, maybe too strong for just the recognition of numbers/letters and four symbols? So could there be something easier?
And the last question, how could I get a screenshot of a particular area of the screen and not the whole screen and save it somewhere?
I hope you guys have a clue what I really want to know and it was understandable.
Greetings
Definitely use OpenCV. It is not too hard to get into, and once you do you will find it does basically everything you'd want. It makes image processing relatively straightforward and it can solve your problem in a lot of ways.
Here is a good place to start.
I would like to add a Speech Recognition function to my C++ application programmed with XCode.
I did some Speech Recognition library hunting and here are the best candidates:
OpenEars
CMUSphinx
Voce
Nevertheless, none of these solutions are satisfying, for several reasons (that might not be a 100% true statement).
My questions are:
Did you ever try to use a Speech Recognition library in a C++ program with XCode?
Do you have an advice about which library/framework to use?
If some work has already been done, might it be possible to have a basic sample code of it? (just for the beginning...)
Note: the speech recognition function I would like to create is very simple: 10 words (in english) that increment 10 variables each time they are said and recognized, that's it.
Okay, after some searches I figured out that the apple Carbon API had a SpeechRecognition.h framework!
The bad news is that it seems quite old and that the documentation/help on internet is quite poor...
Anyone to have some experience about this framework?
Thanks for your help!
A few days ago while playing a flash game I downloaded cheatengline just to spice up the game.
Using cheatenginge I thought to myself that it would be fun to try to make something similar myself.
So I'm wondering if anyone knows about some tutorials or articles describing how this can be done?
I've mostly found dead forums or existing libraries.
The original page is down right now (hopefully not forever!), but Google has a cache of "How I Built a Working Poker Bot". This is a good read, which includes information on how to monitor and manipulate other processes (primarily on Windows).
A few colleagues and I created a simple packet capturing application based on libpcap, GTK+ and sqlite as a project for a Networks Engineering course at our university. While it (mostly) works, I am trying to improve my programming skills and would appreciate it if members of the community could look at what we've put together.
Is this a good place to ask for such a review? If not, what are good sites I can throw this question up on? The source code is hosted by Google Code (http://code.google.com/p/nbfm-sniffer) and an executable is available for download (Windows only, though it does compile on Linux and should compile on OS X Leopard as well provided one has gtk+ SDK installed).
Thanks, everyone!
-Carlos Nunez
UPDATE: Thanks for the great feedback, everyone. The code is completely open-source and modifiable (licensed under Apache License 2.0). I was hoping to get more holistic feedback, considering that my postings would still be very lengthy.
As sheepsimulator mentioned, GitHub is good. I would also recommend posting your project on SourceForge.net and/or FreshMeat.net. Both are active developer communities where people often peruse projects like yours. The best thing for your code would be if someone found it useful and decided to extend it. Then, you'd probably end up with plenty of bug fixes and constructive criticism.
You might get some mileage by posting the code out in the public space (through github or some other open-posting forum), putting a link here on SO, and seeing what happens.
You could also make it an open-source project, and see if people find it and use it.
Probably your best bet is to talk to your prof/classmates, find some professional programmers willing to devote their time, and have them review the code. Like American Idol-esque judging, but for your software...
As #Noah states, this is not the site for code review. You may present problems and what you did to overcome those problems, asking if a given solution would be the best.
I found a neat little website that might be what you are looking for: Cplusplus.com