Facial expression recognition from webcam [closed] - opencv

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am currently working on a project where I have to extract the facial expression of a user (only one user at a time from a webcam) like sad or happy.
There are a lot of programs/APIs to do face detection but I did not find any one to do automatic expression recognition.
The best possibility I found so far:
I used OpenCV for face detection earlier, which was working great, so If anyone has some tips on how to do it with OpenCV, that would be great!
Some user on a OpenCV board suggested looking for AAM (active apereance models) and ASM (active shape models), but all I found were papers.
-So i'm Using Active Shape Models with Stasm, which will give me access to 77 different points within the face, so I would still have to manually map them to expressions.
Any programming language is welcome.

After 2.4 release, opencv came with a face recognition API. You may define sad and happy faces as two different faces and use the API to classify them. If you are looking for any tutorials you can check out opencv's tutorial page, too.

Maybe this article can help you.
It is explanation of concepts used to achieve result shown here:
Also, you might want to have a look here.
All of above mentioned is a work of people who more or less achieved what you watn.
I want to do same as you - facial expression recognition with OpenCV, so I hope sooner or later we can exchange our ideas.

Half the problem is solved for you using OpenCV. If you built OpenCV with examples, you can run an example named c-example-smiledetect which can detect a smiling face with different levels.
The code should be in you OpenCV folder under samples/c. i recall you can adjust the sensitivity in the code so that might help. You can also find the code here.
On another note, an implementation of AAM using OpenCV can be found in this book (chapter 7). This doesn't include the searching and fitting part though, just shows how to create an AAM from ASM and a texture.

Related

How to Solve Equations in iOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Is there api's or tools that I can use do something in Xcode like
SOLVE(2x = x +7);
and I get x = 7?
Also more complication stuffs like
SOLVE(x^2= +6x -8);
and get x = 2 or x = 4
So basically you give an equation with one variable, and it returns the value of that variable.
I have really complicated quadratic equation that needs to be solved.
I am finding intersection of 3 spheres using iBeacons, and I have a complicated equation that needs to be solved. It is too long, complicated to do it myself and create the formula. I need this functionality to make my app work well. But I don't think it exists from my research. So I am asking for your help.
UPDATE: it is possible to do this in Python, but iOS does not include the Python framework. Using python to use sympy in iOS is not feasible. (http://docs.sympy.org/dev/modules/solvers/solvers.html)
UPDATE: There is no easy answer. I had to solve equation by myself. Creating formulas for solving equations is easy with programming cuz you can always create new variables to replace many constants together and go step by step.
I could not find any math library that could do this in iOS Objective C.
But I realized that coming up with the formula with the answer is easy with coding. Whenever there are many constants you can you create a new variable that includes all constants, and go on and on.
I solved the intersection of 3 spheres given those 3 equations using this method.
You could try this C++ library. For those things C++ is much better. And in Objective-C you can write C-Code wherever you want.
You could also create an Objective-C wrapper class to make it more neat in your other code

What good Open GL abstractions in objective-c are there? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have been looking around for a while now, trying to find some easier 3D framework for iOS. Cocos3D looks cool to work with in iOS, but I seems quite beta(?) and the documentation provided seems not enough to understand how to work with it.
So I have been searching the web for similar libs without any luck, even for something close to a tutorial. Does anyone know an easy library for creating some basic 3D demos?
I would like to create a demo simulating flying over some simple terrain/ground and somehow be using GL for this. Any directions are appreciated.
cocos3d is actively developed and supported, and is currently being used in dozens of apps and games. It now supports the iOS, OSX and Android platforms.
cocos3d 2.0 is recommended for new development. It is stable, actively supported, and is nearing its first formal release as a packaged distribution, which is planned for end Dec 2013/early Jan, 2014.
As for documentation, I agree that it is woefully deficient. We will be introducing a new website and Wiki around the time of the formal 2.0 release, which should help to remedy this moving forward.
Right now, your best bet for learning cocos3d is to review the implementation of the CC3DemoMashUp demo app, which demos almost all of the major features of cocos3d.
Relevant to your specific demo idea, the CC3DemoMashUp demo includes a dragon flying over a scene. The dragon also demonstrates blending between animation tracks.

What's a good and free plotting tool? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I would like to use a plotting tool to visualize data for image processing. What is a good (free) tool?
gnuplot worked very well for me when I was working on some performance analysis. Easy to create datasets and it will plot multiple items against the same "time" base (as I was using it)
The one I like the most is Incanter based on Clojure.
The most recognized would maybe be R
Both are very good and free.
gnuplot works well for me. it is freely downloadable at sourceforge and here is the link for gnuplot related stuff
http://www.gnuplot.info/
I often export data to plot as csv, and then use ms excel or gnumeric, or other spreadsheet programs to read that and make a quick plot. quite handy for small (< 65535) set of data. :-)
Depends on the type of "plotting" you want to do - I use Matlab and find its plotting excellent for image analysis, particularly using imshow and surf. As you requested a free tool you could use Octave (an open source clone of Matlab) and its image processing library to do similar.
MathGL (and its front-end UDAV) is free (GPL, and partially LGPL) plotting library. It have more than 55 general types of graphics for 1d, 2d and 3d data arrays. It can export graphics to raster and vector (EPS or SVG) formats. It has Qt, FLTK, OpenGL interfaces and can be used even from console programs. It has functions for data handling and script MGL language for simplification of data plotting. Also it has several types of transparency and smoothed lightning, vector fonts and TeX-like symbol parsing, arbitrary curvilinear coordinate system and many over useful things. It can be used from code written on C++/C/Fortran/Python/Octave and many other languages. Finally it is platform independent and free (under GPL v.2.0 or later license).

Are there any useful datasets available on the web for data mining? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Does anyone know any good resource where example (real) data can be downloaded for experimenting statistics and machine learning techniques such as decision trees etc?
Currently I am studying machine learning techniques and it would be very helpful to me to have real data for evaluating the accuracy of various tools.
If anyone knows of any good resource (perhaps as csv, xls files or any other format) I would be very thankful for a suggestion.
The UCI Machine Learning Archive and the past datasets of the KDD Cup are probably the best known such archives for general data mining. An example of a more specific kind of source is the UCR Time Series Classification/Clustering Page.
Here's an article from DataWrangling.com that lists hundreds of datasets.
On Kaggle you can find some competitions and download the associated datasets.
There is a system that scores your solutions in real time and you'll see your place on the "live leaderboard".
It's a good way of studying machine learning techniques because choosing a "for knowledge" competition you can compare your solution with other participants and discuss strengths and weaknesses of various approaches.
Try my blog, Vellum Information, where I've got several annotated bibliographies curating data sets and data sources:
http://velluminformation.com/2014/03/05/big-data-public-databases-an-annotated-bibliography/.
I've got an annotated bibliography of various data sources that are available. I've also got an annotated bibliography for health data here:
http://velluminformation.com/2012/05/19/free-online-public-data-sources-an-annotated-bibliography/.
Obvious disclosure, this is my blog, so there are other technical things on there as well.

Anyone know of good tutorials for creating an Augmented Reality application from scratch or using an open source framework? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for good tutorials that go through every step of creating an AR application. It would be beneficial if it also covers some of the theory behind optics and such.
A good setup is to use ARToolKit plus osgART.
The tutorial of ARToolKit also explains also some of the principles of Computer Vision:
http://www.hitl.washington.edu/artoolkit/documentation/
osgART is the ARToolKit for OpenSceneGraph and abstracts some of the principles of using a computer vision based tracking in a scenegraph application
Both toolkits have a large and vibrant development community.
MXRToolkit have good documentation and is suitable for beginner. There are some other toolkits too.
http://mxrtoolkit.sourceforge.net/
Not a trivial learning curve but OpenScenegraph is probably the main FOSS app for large applications like flight simulators.
I haven't used it but it might be worth looking at: http://developer.qualcomm.com/ar

Resources