0
请帮助我在带有代码的asp.net中的mvc 3.0中集成网络摄像头。 这是我的C#代码体。在mvc3中集成网络摄像头
public ActionResult UploadWebCamPic(string ImageData)
{
byte[] upImg = null;
WebImage wi = new WebImage(Convert.FromBase64String(ImageData));
upImg = wi.GetBytes("png");
//Get a data Context and you now have the image in PNG format
//in the upImg byte[] that you can store in your DB.
return Json("OK");
}
这里是我的的JavaScript代码。
Javascript Code
找不到命名空间webimage错误即将
帮助,将不胜感激。 谢谢!
任何错误或更多的东西要添加? –
[jQuery网络摄像头插件与asp.net mvc 3]的可能重复(http://stackoverflow.com/questions/9447992/jquery-webcam-plugin-with-asp-net-mvc-3) – Rafay