Replacing QT with OPENCV for Face Recognition [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I have a face recognition program. Its basics are in opencv but GUI is in QT. I want to change the GUI to opencv. How can I do? Like What is the reciprocal class for QWidget in OpenCV?
Any document or link will be help full.
Thanks in advance.

You seem to have some confusion on the role of the two:
openCV is a computer vision library, not an application and GUI framework
Put simply: with Qt you can create graphical interfaces that run on many platforms and expand those using OS wrappers
openCV is a series of APIs designed to operate on image data to do image recognition, image processing and, in general, all the tasks and operations that fall under the "computer vision" umbrella term
TL;DR - they serve different purposes, your question as it stands makes little sense

Related

Rendering a n-body simulation [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'm using openCL to simulate a n-body problem. The output I'm getting is positions of particles in 3-dimensional space (x,y,z). What I want to do now is to render them frame by frame and was just wondering how I would go around to getting that done. I'm using C++ and do not have any previous experience with graphics.
If you could point me in the right direction that would be awesome.
Thanks
If you're just looking for a graphics library to use, I recommend SFML. I am actually using it for a similar project right now and it works great! http://www.sfml-dev.org/
This is a broad question and likely to get closed but some starting points could be:
Using openCL/openGL interoperability to directly render your data
If speed is not crucial and you don't mind transferring data back to the host you might use openGL libraries (steep learning curve) or Windows-specific DirectX (hard) or GDI+ (easier and basic graphic capabilities)
Other simpler alternatives: sfml or openGL wrappers like OGLplus
Notice that you didn't describe how you're going to render that data or what are your expectations. This makes the question impossible to be answered correctly. Just guessing is possible.
There are many ways to achieve your goal. The most common ones would be to use either OpenGL or Direct3D. Both can be hooked with OpenCL. I'm an OpenGL guy, so I'd recommend you OpenGL, but Direct3D is a very nice API if you plan on targeting Windows based systems only.
Take some time and search for the keywords OpenCL/OpenGL interop or OpenCL/Direct3D interop and you shoul find a lot of stuff.

A simple GUI for a C++ code [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 am doing a computer vision project where i have to recognize the text in an image and output it. So I want to develop a simple GUI for my C++ code, where I can show the image in a frame and show the recognized text next to it in some text box. I have no previous experience in developing GUIs, but i think it shouldn't be hard since the interface is not complicated. I am using windows 8 and both eclipse and netbeans are installed. Please provide me with the steps and packages I need to download. Any references to some tutorials or code will be very appreciated.
I suggest to use Qt, the cross-platform application framework.
Download Qt:
Drag and drop features with C++ IDE.
Many video tutorials are available on the web.
Book: C++ GUI Programming with Qt 4 | pdf

Using Qt3D in a widget application [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'm planning to add an interactive 3D model to my application. 3D objects of model should be rotated and moved within C++ code. The whole model is also subject to change during calculations. It also should be a widget in the main window (not a separate window). Objects are in STEP format, but we can convert them to any other needed format if needed.
There are many APIs / Tools / Libraries which I can't find which one is suitable for my application. I'm looking for suggestions or a start point.
Platform: Linux/Windows
Toolchain: C++ / Qt 4 and 5 / OpenGL
When using version 5, this can serve you to start. Loading 3D Model
Also recomend use Blender to create and export in many formats.
Another option is download models in www.turbosquid.com (there are free and paid) is faster when you have no experience in modeling

Shortest path finder C++ GUI with map [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Well I am new to programming. I have made a C++ console application on VS 2012 which uses Dijkstra's algorithm to calculate the shortest path between any two cities of my country .It prints the main cities the path will go through from, the total distance and the total time it would take for a person to travel that distance via a car. Well the application is just a simple C++ console application.
What I want to do is to add a GUI to it. And especially a map, which will show the path by highlighting that specific path on it. All experience I have is on C++ console apps. And I have NO idea how I'd be doing this.
Well I can manage to do some simple GUI. But kindly tell me how would I be dealing with the map. That's the main thing which I have to do.
QT is a good toolkit for GUI programming. They have a tool called QtCreator which allows you to quickly build a GUI program.
But there are a lot of things to learn when developing GUIs which would be to much for an simple answer here. Good luck!

Plotting 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'm in no way an expert on programming, not even close, and I'm event worse at GUI programming. But for a project I need to do some simple point datasets and line plots. And I need to be able to do dynamic updates.
Does anyone know any good frameworks for doing this, I would like either a Cocoa or perhaps a Qt C/C++ framework.
The other option would be to make a Qt widget myself, there are properbly lots of good tutorials out there on that, does anyone know any?
My data is going to be (x,y) with a sliding window over the x-axis.
Lots of suggestions here Is there any 'out-of-the-box' 2D/3D plotting library for C++?
qwt is what you need if you want to use Qt.
It's really poorly documented but there's a tutorial here
MathGL is GPL plotting library which have both: QMathGL for Qt widget with plot, and mglGraphQT (or mglGraphFLTK, or mglGraphGLUT) for external window with plot. See these samples for more details.