Which is good for Video Processing applications opencv or matlab? [closed] - matlab

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am working on Multiple Object Tracking algorithms. Which tool is most suited to develop my own algorithm OpenCV or Matlab ?

Matlab is a faster way to develop algorithms and testing existing systems. However, when it comes down to producing a commercial and portable application you need open source libraries like openCV. Especially some heavy weight algorithms like object tracking can be quite slow in Matlab while openCV has optimized builtin methods and algorithms about your subject already

I have been working with OpenCV for quite some time and I have to say it is a great tool. The new documentation is much, much better than the old one and the ease of opening multiple camera streams is awesome. I have no experience with Matlab so by bias is pretty high.
OpenCV can be used with many different languages (Again, I don't know about Matlab) including C, C++ and Python. I have found that the Python interface is really nice as they use Numpy arrays for manipulating data.
Here is a simple example of some Python code some students wrote to track both white Frisbees and rectangular targets.
https://github.com/Team3574/2013VisionCode

Related

Overview of implementing Kinect and Unity 3D Integration [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking to make a simple game project in the Unity 3D environment, that utilises the Kinect to have a game character mimic what occurs in real life. I am trying to achieve this in the shortest time possible. I am a relatively new programmer fluent in Python and with some knowledge of Java.
So I've been reading all over the internet about guides on Unity 3D, libraries like Zigfu, the Kinect, etc... But it's all scattered and presumes quite a lot of knowledge, so I was hoping someone could offer clarification.
Questions:
What packages are needed to achieve this (I hear terms like XNA, Zigfu, Microsoft SDK being thrown around), and what would you recommend based on the circumstances?
What resources are good, and where should I start. I want to try reduce redundancies (a lot of Unity tutorials cover stuff like rockets, life bars, etc that I'm not interested in). I'm a bit overwhelmed with the multitude of tutorials, and a lot of them seem very involved time-wise, and I'm just interested in getting something up as fast as possible.
Will I need to learn another programming language / which would be the best to use to achieve these goals?
I just tried Motion Toolkit package from Unity asset store. It is based on Omek Beckon middleware and actually offer a sample that does exactly what you want, an avatar that is animated by movements of a person in real life.
It is implemented in C# though, but integrated very good into Unity, So I guess you'll be able to use Boo (which is Unity scripting language based on Python)

The best tool for visualizing ontologies? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking to visualize ontologies for understanding and making others understand. I would prefer to have top-down hierarchy of classes. I have used OntoGraph which comes with Protégé, but I am not happy with the figure :(. I have also used Microsoft Visio and stencils available for Ontology, but that too has not impressed me.
Through this question I would like to know which is the best tool for visualizing an ontology for general purpose, and/or for specific purpose (like writing an academic paper).
Thanks.
~Codera
I do not have complete answer for your specific problem, but you may try to review the Mike Bergman's list of tools (for ontology visualization).
Note, RDF is a graph, so you may be able to use any graph-visualization software. "Only" need to map RDF to tool-specific model.
While not an ontology specific tool, thejit is a very nice javascript visualization toolkit. I've used it in the past for custom semweb-related visualizations. You won't get much out of the box support but if you don't mind putting in some coding time, you can get some nice looking graphs.
I can highly recommend you to utilize the graphical editor of TopBraid Composer Maestro Edition. The graphics are not the most beautiful ones. However, it's interactive ;-)

How might I build a full UI for a piece of Matlab numerical code? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am researching building a full UI for a piece of Matlab numerical code. I can of course port the code to another platform and build the UI in the usual suspects (Qt, Java, etc), but it would be much preferable to communicate with the scientists on the project to retain the code in Matlab.
What is the recommended approach here? I found some old (ca 2007) tutorial on building UI for Matlab, but nothing really good. There is also "MATLAB Advanced GUI Development" (Scott T. Smith), which is very on-topic but dates back all the way to 2006.
So what's the modern approach to building a UI for Matlab? What are the recommended references?
The UI aims to provide data visualization as 2D plots, not in strict realtime but under a second, and some minor interactive capabilities (e.g selecting options or click-selecting coordinates).
GUIDE is very limited and a pain when used in 'larger' projects. Therefore I suggest to use MATLAB's seamless integration of Java. Undocumented Matlab is an excellent source for Java/MATLAB integration.
Making use of the 'undocumented' areas of MATLAB, a 'dockable' window can be integrated into MATLAB's IDE. Just execute the following code as m-file.
import javax.swing.*;
dt=com.mathworks.mlservices.MatlabDesktopServices.getDesktop;
panel = JPanel();
dt.addClient(panel, 'MyPanel');
The topic is very broad, it depends also on your time constrains and general knowledge of GUI frameworks like Java Swing. I think there is no one best answer but these links could still help:
Software engineering and patterns in Matlab GUI application?
How can I program a GUI in MATLAB?
how to implement the idea of mvc design in matlab gui's
Software engineering and patterns in Matlab GUI application?
Is the MATLAB gui creator GUIDE as awful as I think? Is there an alternative?
https://stackoverflow.com/questions/4380737/what-books-will-you-recommend-to-read-about-writing-a-gui-programms-in-matlab
Breaking from for loop in MATLAB GUI
MATLAB programming best practices

Code generation with Machine learning [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am very interested in machine learning. i have an idea to develop a program which can generate a source code according to a given standards. for example if i have trained the system to how to write something to console and the standard way of using variables then it should be able to generate a source code for anything which i ask to print something to the console, likewise. Is there any resources source codes or existing open source projects?
You might be interested in Genetic Programming. It's a genetic algorithm that operates directly on programs.
The demo I saw used Lisp (Common Lisp, I think), which is a natural fit, but any language with eval should be decently easy to use.
The Wikipedia page lists a whole pile of implementations, many of them open source, so you should be able to start there.
This sounds like this is would be a Constraint Satisfaction [CSPs] or Search Problem, these approaches would probably be your best bet:
Genetic Algorithm
Some sort of goal seaking heuristic [with negative/positive reenforcements]
The algorithms that are under the CSP category.

Go vs. Scala for realtime webapps [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm writing a webapp that uses websockets for updating vehicle positions on a google map and for exchanging messages with drivers in realtime. I've been playing around with Node.js as well as Tornado, but I've come to the conclusion that I'd prefer static typing for this project after all.
Two excellent choices seem to be Scala and Go, but I'm having a hard time deciding between those two. I've been mostly been programming in C/C++/C#/Python and have very little Java experience.
So how do those two compare? What would you learn next? I know this is subjective, but I'm kind of looking for some battle stories here. Also, what about the ecosystem? From what I can tell, Scala inherits Java's ecosystem, but what about Go?
The down side of Go - immature, with very little real world experience.
The down side of Scala - you must be familiar with the Java eco system in order to utilize scala well. You probably can't write everything in Scala. Also, some might find the learning curve for Scala higher.
Both supports websockets (Scala through Lift for instance, and Go in the standard library).
I believe that you'll be more comfortable with Go, since it's more similar to Python than Scala.