has anyone gotten this http://www.xarg.org/project/jquery-webcam-plugin/, to work with aps.net mvc 3? I can't seem to decode the image, using the WebImage class or BitmapImage.
I've tired to do this with Silverlight, but I'm really unsure on how to upload the image. I do not need to save the image, I just want to process it, what im really looking to do is read a bar-code via web app.
I just can't seem to find a good guide to uploading an image from Silverlight or flash to my MVC app.
Thanks in advance.
You might give www.scriptcam.com a try, there is extensive documentation available on this jquery plugin.
The documentation contains many examples. All that's needed is to read and try out.
So here's how your
Index.cshtml
view might look like using the browser's HTML5 canvas element to encode the raw image data coming from the webcam into a PNG image that will be sent to the server using an AJAX request:and your Home controller: