[Mono-list] Mono + Webcam (cross-platform solution)?

Daniel Isenmann daniel.isenmann at gmx.de
Thu Jun 24 02:20:18 EDT 2010


Am 24.06.2010 06:35, schrieb davidlt:
> Hello,
>
> I am looking for some example of using Webcam via mono (still image capture
> and video stream). Solution should be cross-platform, at least working on
> Mac OS X and Windows with different cameras. I found some examples of C#
> under windows, but using DirectX, this not quite good me. Anyone tried to
> accomplish something like this already?
>
> Regards,
> david
>    

Hi,

this isn't really for multimedia stuff I think, but there is one 
solution provided by Emgu CV http://www.emgu.com (C# wrapper for 
OpenCV). You can access the webcam and capture the video or only one 
frame, but I don't know if it is really the solution you are looking for.

Here is the example in the wiki: 
http://www.emgu.com/wiki/index.php/Camera_Capture_in_7_lines_of_code
I have tested it under Arch Linux and it worked without any problems. I 
captured the live stream and did some first effects to it, like those 
effects in cheese from Gnome.

Regards,
Daniel


More information about the Mono-list mailing list