Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I do have a set of image files. Some of the files contains a bar code and I want to separate those from others. In c# how to find the presence of a bar code in an image file??
You have to apply some computer vision algorithms. You can develop them using OpenCV (via P/Invoke in C#), or EmguCV (http://www.emgu.com/wiki/index.php/Main_Page) which is .NET wrapper for OpenCV. There are also libraries made specific for barcode detection - ZXing comes to my mind.
If the bar codes are located at fixed positions, you can simply save these areas from the images to separate images and process them. If you need to locate the barcodes in the first place, you can use EmguCV for pattern recognition.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
My adviser told me to use Accord Framework for C# to extract features and patterns from images. Our project is about image analysis and comparison of tobacco leaves. Does anyone here have an idea on how to do it? Thank you.
This is pretty high level stuff, but from what I've learned in my time faffing with it, I'd use the Accord.Imaging library to scan your pictures. Followed by using the Accord.Neuro namespace to "learn" from some manual data you feed into it.
Seems your goal is to create a program that scans images quickly, gleaning only the useful data from the full image, and then checking for some particular features of the image. I've never used the library, but it looks like it'd be possible to use it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am learning C# and I want to create a countdown timer application that displays the time in a digital format on an image of a stopwatch and gives verbal time updates at certain times.
How do I go about displaying images to the screen and playing sound? I have used pygame in python to achieve this so basically I am looking for suggestions for something similar in C#.
I hope this makes sense! Thanks.
The best technology to use for that would probably be Windows Presentation Foundation (WPF).
Here's an example of an application made in WPF similar to what you want to do:
http://www.codeproject.com/Articles/20048/Immerse-Yourself-in-WPF-A-quot-World-Clocks-quot-A
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am creating a program that displays song lyrics using WPF. I want to use videos as the background(using VLC player). How can I overlay the lyrics over the video background?
Thanks in advance.
This may not be possible directly in WPF. I assume that you would need a WinformsHost to host the VLC player. It's a known issue(limitation) that WPF controls and winforms can't share the same screen area(airspace limitation). However there are many workarounds for this limitation, one of them being adding 2 WPF windows overlayed.
Alternatively you can try upgrading to WPF 4.5(Using VS-2012), this issue seems to b e fixed there.
Read:
https://msdn.microsoft.com/en-us/library/aa970688(v=vs.100).aspx
http://bartwullems.blogspot.in/2010/11/wpf-and-winforms-airspace-problem.html?m=1
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
as I searched on internet it is easy to convert a list of byte arrays to a single multi-page .tiff image in windows application (by c# language). the application uses System.Drawing namespace which is not supported in silverlight.
the obvious question is, how to do such in a silverlight application?
LibTiff.Net library supports Silverlight.
You can use the library to create TIFF images in a Silverlight application. There are samples for various TIFF-related tasks available.
Source code package of the library contains Silverlight Test Application that shows how to display TIFFs in a Silverlight application.
Disclaimer: I am one of the maintainers of the library.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm not sure, is this possible or not? I want to scan barcode from within ASP.NET website. Anyone know how to do this?
You would need a scanner and the relevant software to interact with the scanner. Most hand held scanners simply output the text into whatever field is in focus, so this could be Notepad, Word, or even a textbox in your app.
Best approach is to find a scanner that suits your needs and then look into the Driver software it provides.
The simplest way would be to use Flash to gain access to a user's web cam and have them place the barcode infront of the camera. I'm sure Silverlight can do this as well.
No matter how you cut it, though, you're going to need to use some sort of third-party control, whether Flash/Silverlight, Java applet, or browser extension/addon.
An alternative would be to use a specific brand of barcode scanner whose software can insert the results into an arbitrary textbox.