webcam

Silverlight 4 Motion and Color Tracking using Webcam

Software Design Question: Since silverlight 4 is out, and it has webcam support, does anyone know the code to track the motion and color ? Is SL4 writable bitmap is the first step to start wrting the code ? I wants to convert specific color motion into action in Silverlight. For example if you move red color pen in front of camera fro...

how can we get x-y-z parameters from webcam via matlab?

Hi There, I am using web-camera to capture real-time image via matlab, and succeeded to preview the video using simple videoinput, getsnapshot, and preview functions. To be honest, I am not really satisfied with the result though, because the view-angle is still too wide and I can not set the position of my webcam manually, means I ca...

Using webcam's button in my own program

My webcam has a button, with which you take a photo of current frame when using it's original software what came with it when I bought it. Is there any way to use that button to take photos in my program. I would be using C#. I was thinking of using Windows Image Acquisition (WIA) or avicap32 for using webcam in my software. Any h...

Error grabbing video as unprivileged user

Hello world! I'm trying to grab video as the user "www-data" using the command below. streamer -c /dev/video2 -f jpeg -o /dev/stdout I have added the user to the group "video" which is the group that owns /dev/video0, /dev/video1 and /dev/video2. The interesting thing here is that it can grab the video from /dev/video0. But fails wit...

Processing byte pixels with SSE/SSE2 intrinsics in C

I am programming, for cross-platform C, a library to do various things to webcam images. All operations are per-pixel and highly parallelizable - for example applying bit masks, multiplying color values by constants, etc. Therefore I think I can gain performance by using SSE/SSE2 intrinsics. However, I am having a data format problem....

Save video captured from webcam using Flash

I'd like to use Flash to capure video from the user's webcam and then save it on the same server that hosts the Flash file. The web server will be running ASP.Net technology. Seems easy, right? Lot of searches yielded the same lines of code to start a webcam capture using Flash. I can't find anything that sends that captured video back ...

Test Webcam via Flash

I am looking for a "test your webcam" flash movie like this one that is free and OK to use in a closed environment. I need the camera testing only, no server side processing of the video stream. It is thought as a small online tool for a client. Is this possible? Does anybody know a freely usable solution? ...

Why OpenCV's `cvCreateCameraCapture` and `cvCreateFileCapture` do not work? How can I fix it?

Have an AVI videofile, and a webcam. cvQueryFrame returns null in both cases. Code is applied(only for cam): #include "highgui.h" #include <iostream> using namespace std; int main( int argc, char** argv ) { cvNamedWindow( "KillCam", CV_WINDOW_AUTOSIZE ); cvWaitKey(0); CvCapture* capture = cvCreateCameraCapture(-1); ...

How to capture video from webcam(in java)?

I want to develop an application in java to capture video from webcam and store it onto a particular location.Can anyone provide me the working code? What type(usb,ip etc..) of webcam is the best in order to develop the application. Please help me. how to proceed? ...

Implementing a WebCam on a WPF App using AForge.Net

Hi I'm writing an WPF application where I need to show a Webcam feed. I was able to do this easly with the AForge framework.But when I've changed from a computer to a another computer the same code doesn't work the same way. In the first one the webcam feed works perfectly, but in the other one this does't occur, the feed has a lot of...

Accessing external library (jmf) within jar file

We used an external library, specifically jmf.jar (Java Media Framework), for our java application which relies on images captured from the webcam. However, when we tried to package the application into a jar file, the application runs but once we try to access/open the webcam nothing happens. We are using Eclipse and we used its export...

device not found

I downloaded and installed a fat-jar eclipse plug-in to be able to package my project containing an external library(JMF). But when I run the application, it says "No device found". Does this mean that jmf.jar wasn't included in the new jar file since it can't detect the webcam? Because when I'm running the application in eclipse, there ...

OutOfMemoryError

I have one main class that contains 5 buttons each link to a program/package. Each package runs a jmf program that capture images from a webcam and it also loads about 15 images from file. The 1st program to load(regardless of which button i press) always runs correctly. But When i run a program after the 1st program ends, java.lang.Ou...

Fast conversion from YUY2 to RGB24

Hello there! I'm writing a program, that will do some transformations with image from a webcam in real-time. As almost all other webcams, my noname gives data in YUY2 format (as written in bmiHeader.biCompression). I tried straight conversion on CPU side according to http://www.fourcc.org/yuv.php#YUY2, but it is VERY slow and wrong :). ...

ASP.NET Application Webcam Capture

Ok, so I have seen a ton of stuff on capturing an image from a web cam but I want to capture video. I want to be able to control quality, length and size of file that will be transferred. It is part of an ASP.NET MVC C# web application and would appreciate any guidance in finding info on this topic, as well as any comments on efficiency...

Web cam integration in .net MVC

Hi, I am a new bee to this .net MVC basically i am from PHP. I am trying to integrate web cam in my MVC app. I am using Flash to integrate it, I have written an action script to capture the image from web cam, but i am unable to upload it to DB. I tried with communicating javascript and and actionsctipt but its not working out for me. A...

Capture webcam's image with Ruby

Is there any library in Ruby which I can use to capture the webcam's image? Has to run on GNU/Linux. ...

jmf not detecting logitech webcam

Jmf can't detect my logitech webcam. It can only detect the default webcam installed in my laptop. I'm using this string -> "vfw:Microsoft WDM Image Capture (Win32):0"; to detect my default webcam. And this "vfw:Logitech USB Video Camera:0"; to detect my logitech webcam. I guess the biggest problem is, the logitech webcam is not unde...

Webcam Capture Resolution issues

Hi all, I'm making my own webcam timelapsing application, but having issues with some webcams. The one in particular advertises that it can take 5MP photos, but it runs a native 320x240 (or something horrible) which is the feed that I'm getting. I'm using code that seems to be well copy-and-pasted across the web, the incarnation I'm us...

Grabbing snapshots from webcams in ruby

How can I take snapshots from a webcam in ruby? I know the webcam device is on /dev/video0, but how do I get a picture from it? ...