API for displaying video and drawing 2D elements [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a Windows library/SDK that will allow me to do the following:
Display video from a network stream
Draw 2D elements on the displayed image in real time, such as lines, circles, text, etc.
Use it in a commercial application (I don't mind paying for it)
I'm willing to use any programming language or environment so there's no specific requirement, except for the Windows OS.
Which library/SDK would you recommend considering the requirements from above?

You can use the VLC one to display video from a network stream.
For 2D elements you can use the Qt framework.
In addition VLC is developped with Qt. So sure to not have problem by using VLC and Qt in your project.

I tried many solutions and found that the best one for me is to use WPF with WPF MediaKit. A video element is placed inside a Canvas, which makes it possible to add other graphic elements on top of the video (basically every WPF UI element).
Although I really tried, I couldn't draw on VLC video using QGraphicsView.

Related

Best tool for image segmentation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Does anybody knows which are the best tools for image segmentation?
I'm starting to do a project that evolves in a specific GUI to recognize some parts of the image such as a button, or a text box for example.
Can anybody tell me which sould be the easiest and the most efficient tool for this kind of issues?
Thank You.
Though your question may not be well posed, there are several tool kits for image processing.
One option is OpenCV. This computer vision library can perform a wide range of operations from simple image processing to object recognition for robotics. Here is one quick image segmentation example, straight from the documentation.
This library is powerful, but it may not suit your application. Please consider asking a more specific, technical question.
There are a few toolboxes for pattern recognition in images>
in matlab you can find: https://www.mathworks.com/matlabcentral/fileexchange/46392-pattern-recognition-toolbox
It is called PRTools> http://prtools.org/
and this is for more statistical purposes rather than segmentation>
http://cmp.felk.cvut.cz/cmp/software/stprtool/dwstprtool.html
If you deal with neuroimages, you can then take a look on>
Pattern Recognition for Neuroimaging Toolbox (PRoNTo)

Is there any single way to show all types of Images on WP7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am working on a WP7.5 application where I have to download multiple images
and show them in a list.
The images may be PNG, JPEG, or GIF.
For the first two extensions its not a problem, but as we know,
to show/play a GIF image on WP7, there are some other libraries or controls.
(I tried using ImageTools http://imagetools.codeplex.com/; and it worked fine.
But the control it provide cannot render images other than GIF (or may be I didn't found the way).
Is there any tool or custom control or API which can render all types of images, so that no matter what extension it is, the image is showed?
WP7 uses silverlight and silverlight doesn't support GIF images.
Please check these links for information regarding the same. http://forums.silverlight.net/p/39235/112333.aspx
and you may also find some useful answers to your question here: Displaying a GIF in Silverlight

Free printer for printing to PNG (or SVG) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there a good free printer driver for printing something to PNG (or maybe even SVG) for Windows (I use 7 64bit)? I've got this site with some statistics and it displays this cool graph. It's got an embed feature, but that's using flash. I want to put this graph on my blog, but I don't want to use flash for mobile browser reasons. This site also supports printing the graph. So what I thought I would do is print the graph to a PNG or SVG file and use the picture.
I've been searching around and I can't really find anything good or I'm just not typing in the correct keywords. Either way if you know of a good printer-to-file please share. Or if you see any other way.
BTW: Can smart phones even handle SVGs?
Try PDFCreator, it's free/opensource and allows saving as SVG, PDF etc...
Yes, most smartphones can handle svg, the browser on the iphone does for example, and if you install Opera Mini (available for most phones) you can view svg just fine. Opera Mobile and the mobile version of Firefox for Android also supports SVG. The exception is the default browser on Android 2.3 and below, which doesn't support SVG currently.
Print to PostScript then use either Cairo or ImageMagick to convert it to PNG or SVG.

How do I draw music notes on a staff in an iOS or Mac app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I want to write a program that will generate random notes and draw them on the screen on a staff. I want to use Cocoa or Cocoa Touch. What's the best way to go about displaying the notes? Should I somehow use a music font, or pngs of each note, or what? Are there any good tutorials or sources of info out there on this topic?
I would be very tempted to use a custom music font and render it using the new ability in iOS4 to import custom fonts (I'm pretty sure it's iOS4 in general, and not just the iPad). I also assume that the entirety of CoreText is available on the mac too, but even if not, I'm sure the code wouldn't be vastly different.
Anyway, you can read about loading custom fonts here;
http://www.freetimestudios.com/2010/09/20/ipad-and-ios-4-custom-font-loading/
Or the slightly more hardcore way here;
http://www.freetimestudios.com/2010/09/13/custom-fonts-on-the-ipad-and-ios-4/

Game UI HUD [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
What are some good tools and techniques for making in game UI? I'm looking for things that help artists-types create and animate game HUD (heads up display) UI and can be added to the game engine for real time playback.
If you are working with a middleware environment like Torque or Unity3D, they include a GUI framework to build on. Flash is an ideal tool, but to use in anything other than a Flash or Shockwave3d game you need to purchase ScaleForm too, which is expensive and isn't easy to get hold of for indie developers. WPF and Silverlight look promising for this purpose, but so far haven't been set up for game integration.
Unfortunately, for many developers the only solution is to roll their own UI components from scratch.
Using flash will give the highest productivity for the graphical artist (well - if he knows flash).
You may want to have a look at gameswf. It's a bit dated but seems like a perfect match for your problem.
http://tulrich.com/geekstuff/gameswf.html
Another option would be to just do the entire UI in your 3D content-tool and use your animation system to play back the transitions.
One option is to use Flash in conjunction with a package called ScaleForm. This allows the artist to make the UI in flash and then ScaleForm executes the flash in game.

Resources