Using a webcam...
I want to do a little work with webcams but I'm not sure as to what component to use... heres my code:
using System;
using System.Data;
using System.Linq;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
namespace WebService1
{
[WebMethod]
public byte[] GrabFrame( short nQuality )
{
//Shoot a picture from my webcam
CAMSERVERLib.Camera cam = new CAMSERVERLib.CameraClass();
return (byte[])cam.GrabFrame( nQuality );
}
}
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Edward Simon35 pointsPosted Oct 9, 2014, 9:44 PM EDT
http://www.camera-sdk.com/p_35-how-to-connect-to-an-usb-camera-and-display-the-picture-onvif.html
There are more articles, if you want to reach best quality performance with webcamera. I hope it will help you to solve your problem.