webcam

OpenCV's FrameGrabber's Output Image is Incorrect

一曲冷凌霜 提交于 2019-12-10 11:54:53
问题 I am working on an OpenCV project that relies on finger detection. Currently I have an OpenCVFrameGrabber that grabs a frame and places it in an IplImage . I then draw that image onto my GUI. This all works, but the image that is drawn seems to be in black and white even though I have a color camera. There are noticeable vertical lines in the image and when there is some color, it seems to be split into components along these lines. Does anyone know of a way to get the original webcam image?

webcam calling in xna

元气小坏坏 提交于 2019-12-10 10:55:47
问题 i am new in xna i want to use my webcam and make webcam image as a background texture for 3D models is there a function that calls webcam thanks for suggestions 回答1: If you check out the AForge framework you'll find a sample program that does motion detection on webcam feeds. http://code.google.com/p/aforge/ This framework has a very easy to get webcam feeds. Basically ends up VideoCaptureDevice device = new VideoCaptureDevice(monikor); device.NewFrame += new AForge.Video.NewFrameEventHandler

QT's QMediaRecorder not working - Unable to record from webcam

戏子无情 提交于 2019-12-10 10:28:53
问题 I've been searching everywhere for a solution to this and I've seen some threads here about this problem but without a solution. I'm trying to record a video from two different webcams that I have on my computer. I am able to show the video for both of them but the problem is recording. When I try it nothing happens. No file is saved and the states also never change. Bellow I have attached the code that loads the cameras and the code that loads the QMediaRecorders. I also tried with just one

Capturing pictures from webcam at high resolution while previewing at a lower one using DirectShow.Net

我与影子孤独终老i 提交于 2019-12-10 03:26:54
问题 I am using DirectShow.Net to stream a webcam to my C# (4.0) app for reading QR codes. It is taking a snapshot every .5 seconds to see if it can find any QR codes and decode them. This works great on my dev computer at any resolution I can get my webcam to, but when I try it on a target machine (Panasonic CF-U1 Toughbook - Intel Atom processor) it really starts to bog down when I go to a higher resolutions than 800x600 on the webcam. I am using the Capture class from the DirectShow.Net DxSnap

java:web cam application

浪子不回头ぞ 提交于 2019-12-09 19:56:41
问题 I am looking to do develop the following application. How to proceed? Scan the system for installed webcams and their supported video modes. Let the user select a cam and a video mode. Displays a video of the camera. Starts a frame grabber/processor, it doesn't have to do nothing for now. I want to have the possibility to elaborate frames or at least one frame every x. Not sure if it's possible but i'd need also a routine to overlay processed frames on the playing video. 回答1: Check this post

“Preferred” method to access webcam from C# in Windows Vista / 7

人走茶凉 提交于 2019-12-09 17:56:46
问题 I've found plenty of posts discussing WIA, Windows Portable Devices API and DirectShow (and giving example code) for accessing a webcam from C# but when you research each method you seem to come across references that these are "old" methods. So, question is, when running nothing earlier than Windows Vista, what is the "preferred" method for accessing a webcam from C#? Thanks, John. 回答1: I think what you are looking for is Windows Media Fundation. Extracted from MSDN: Microsoft Media

libv4l2: error turning on stream: No space left on device

可紊 提交于 2019-12-09 15:52:06
问题 I try to get stereo pair for opencv. I connect Logitech B910 and Logitech C910 webcams to usb. But have this error. I played with quirks parametrs and set outfmt=mjpeg in mplayer, but have this error again. Where can I find bug in uvcvideo or usb drivers? What monitoring or debuging tools I should use? 回答1: This is a badly worded error message ; the cause is not having enough USB bandwidth on the controller. As you have guessed, if you could just get your cameras to use MJEPG your problem

Test Webcam via Flash

て烟熏妆下的殇ゞ 提交于 2019-12-09 13:38:07
问题 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? 回答1: http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/media/Camera.html#includeExamplesSummary shows a simple example for how to use the camera class. i've also uploaded an example here

display cv2.VideoCapture image inside Pygame surface

假装没事ソ 提交于 2019-12-09 12:46:26
问题 I'm trying to use opencv (cv2) to stream a webcam feed into a pygame surface object. The problem is the colors aren't displaying correctly. I think it is the type casting, but I'm having trouble understanding the pygame surface documentation to know what it expects. This code demonstrates what I'm talking about import pygame from pygame.locals import * import cv2 import numpy color=False#True#False camera_index = 0 camera=cv2.VideoCapture(camera_index) camera.set(3,640) camera.set(4,480)

Command-line streaming webcam with audio from Ubuntu server in WebM format

☆樱花仙子☆ 提交于 2019-12-09 06:47:52
问题 I am trying to stream video and audio from my webcam connected to my headless Ubuntu server (running Maverick 10.10). I want to be able to stream in WebM format (VP8 video + OGG). Bandwidth is limited, and so the stream must be below 1Mbps. I have tried using FFmpeg. I am able to record WebM video from the webcam with the following: ffmpeg -s 640x360 \ -f video4linux2 -i /dev/video0 -isync -vcodec libvpx -vb 768000 -r 10 -vsync 1 \ -f alsa -ac 1 -i hw:1,0 -acodec libvorbis -ab 32000 -ar 11025