How to use OpenCV with C# (Commercial use) - c#

I am trying to do a project in C#. For now, I want to just stream and save video from 2 PC cameras at the same time, but will be using more of OpenCV later on.
I came EmguCV, but they have separate terms for commercial license: http://www.emgu.com/wiki/index.php/Licensing:
Is there some other good alternative I can use to get OpenCV working with C#? thanks!

Have you tried OpenCvSharp? It is licensed under the BSD 3-Clause License, so commercial use should be no problem.
Some colleagues of mine use OpenCvSharp in their projects, and I haven't heard any bad from them about it.

Related

.dll file is not available

There are some different between emgu cv library , documentation, sample files. emgv.cv.capture is not supported in latest emgu cv library. I cannot access the _capture.start(), _capture.pause(), _capture.stop() functions. I want solution for this.
I am going to assume that your question was not meant as rudely as you stated it. I will suggest that you check again. In the 3.1 documentation and examples not only is Capture there so is Start and Stop.
Doug

How to install codecs for H.264 in .NET?

We need to play some H.264/AAC videos in Winforms project written in C#. This should run on Windows XP SP2 and Linux (using Mono). In order to be able to do that, the computer has to have appropriate codecs installed I guess. Does anybody know if there is a way of installing the codecs as a part of installation of our project using msi installer. Is there some free or paid component, which we can use? Ideally in a form of some dll which, we could just register to the system somehow. Or is there some better way?
UPDATE:
We have found this: http://vlcdotnet.codeplex.com/ It is not ideal so far, but we will try to investigate more.
The MPEG-4 codecs are not free (MPEG LA licensing terms apply) in first place, so the first thing is to find what exactly codecs you are going to redistribute, and check this SDK/with this vendor how to correctly install and redistribute their software.
You will find some codec implementations listed here on Wikipedia:
AVC software implementations
In the end we used this library: http://libvlcnet.codeplex.com/, which proofs to be exactly what we need. We can play videos and auidos encoded in H.264/AAC codecs on every system (Win7, Win8, XP and various distribution of Linux), with very quite small effort now.

Using c# to write adobe plug ins

from my understand, in order to write adobe plugin, we have to use c++ and the adobe sdk to write the adobe plug ins.
is that possible to use c#, link with adobe sdk to write adobe plug ins?
Yes you can! :)
It's a vast topic but you can begin with
http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/intro_to_sdk/DeveloperFAQ.pdf
Page 21
Maybe with Acrobat as sunil5715 mentioned.. BUT I had the SDK for Adobe Illustrator v4. Back then you had to use Motorola's IDE named Code Warriors. You wont be able to use C# if you expect it your plugin to run on a Mac.
Maybe if you wrote a version in Mono it might run on a mac, but that is obviously not ideal.
Couple of notes (for Illustrator atleast) the code is unmanaged C++ and mixing unmanaged with managed code isn't the best practice. Also when you see the SDKs for Illustrator, Photoshop, After Effects you will see how dam good their (Adobe's) code is. Its spectacular! EXTREMELY good quality and is much better than the production code in many Microsoft products. So unless its a simple plugin I think you will need the low level abilities of C++.

How convert PCL generated by HP LaserJet 5 into PDF in C#?

I need to retire 15 years old system and preserve all data. It can only print documents into specific printer HP LaserJet 5. I can print documents into PCL files and looking for ways to convert all this files into PDFs programmatically. Preferably in C#. Can anybody recommend good library or command line tool? Preferably free ;-)
The commandline tool GhostPCL (part of GhostPDL), by the same developers as Ghostscript, can convert PCL to PDF. Recent changes in their public source code repository provide a fully integrated source tree encompassing Ghostscript, GhostPCL and GhostXPS. This includes MS Visual Studio *.sln and *.vcproj files to build all or part of their products. License is GPL or commercial (commercial licenses to be obtained from Artifex):
The simplest solution I found is VeryPDF PCL Converter http://www.verypdf.com/pcltools/index.html. It has command line mode, GUI (for command line), batch mode and only cost $125. My company has been pay for it. Hope this will help somebody too.
I've used Visual Softwares pcl2pdf on several projects, it worked well for me.
We are currently using Lincoln's PCL to PDF converter. It was simple to call and provides embed into our C# application. It also provides good feedback in terms of Events when a page has been converted etc so you can even add progress bars etc.
Lincoln PCL to PDF Converter
I've used PCL to PDF for Windows and OS X which is based on GhostPCL.

Scripting VirtualBox with C#

Where is the best place to find VirtualBox's C# samples?
The VirtualBox SDK comes with samples in Java, Python, Perl. Since the WSDL files are also there, writing C# samples shouldn't be a big problem.

Categories

Resources