webcam

firefox captures video noise from web camera

主宰稳场 提交于 2019-12-13 04:41:25
问题 The test code: <!doctype html> <html> <body> <video id="v1" autoplay="autoplay"></video> <script> navigator._getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia; navigator._getUserMedia({video: true}, function(stream) { document.getElementById('v1').src = URL.createObjectURL(stream); }, function() {}); </script> </body> </html> This is what firefox 28.0 captures. The webcamera is Logitech C210 . It works fine in skype and chrome . The computer is

JavaCV error when saving a captured image

♀尐吖头ヾ 提交于 2019-12-13 03:22:15
问题 This error comes up when I click my Capture button. OpenCV Error: Unspecified error (could not find a writer for the specified extension) in cv::imwrite_, file C:\build\2_4_winpack-bindings-win64-vc14-static\opencv\modules\highgui\src\loadsave.cpp, line 275 Exception in thread "AWT-EventQueue-0" CvException [org.opencv.core.CvException: cv::Exception: C:\build\2_4_winpack-bindings-win64-vc14-static\opencv\modules\highgui\src\loadsave.cpp:275: error: (-2) could not find a writer for the

How to specify encoding bitrate while capturing from a webcam - MS Expression Encoder 4

假装没事ソ 提交于 2019-12-13 02:07:36
问题 I have a program to capture and save live webcam video. This is taken from sample programs coming with Expression Encoder 4. LiveJob job = new LiveJob(); EncoderDevice video = EncoderDevices.FindDevices(EncoderDeviceType.Video).Count > 0 ? EncoderDevices.FindDevices(EncoderDeviceType.Video)[0] : null; EncoderDevice audio = EncoderDevices.FindDevices(EncoderDeviceType.Audio).Count > 0 ? EncoderDevices.FindDevices(EncoderDeviceType.Audio)[0] : null; LiveDeviceSource deviceSource = job

Unable to detect web cam in OpenCV

天大地大妈咪最大 提交于 2019-12-13 00:38:42
问题 Hi I am trying to detect web cam in opencv using following code I am getting blank black screen though my web cam is attached to my PC via usb My web cam is using **ICatch(VI) PC Camera ** driver & I am using OpenCV 2.1 with VS 2008 #include "cv.h" #include "highgui.h" int main( int argc, char** argv ) { cvNamedWindow( "cam", CV_WINDOW_AUTOSIZE ); CvCapture* capture; if (argc==1) { capture = cvCreateCameraCapture( 0 ); } else { capture = cvCreateFileCapture( argv[1] ); } assert( capture !=

Processing video library does not work on Linux (Ubuntu 13.04)

可紊 提交于 2019-12-12 21:49:47
问题 I have a problem. I'm trying to run the Mirror sample from the Processing video library, with the latest version of Processing (2.0.3). However, I get this error; Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. libEGL warning: failed to create a pipe screen for i965 java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Unable to load library 'gstreamer-0.10': libgstreamer-0.10.so: cannot open shared object file: No

Web Cam support in Hololens Emulator

坚强是说给别人听的谎言 提交于 2019-12-12 21:16:31
问题 Can laptop's web camera used in the latest Hololens emulator ? I'm following this tutorial https://docs.microsoft.com/en-us/windows/mixed-reality/mr-azure-302 to integrate MS Computer Vision API into Hololens. I want to test this in the Hololens emulator before moving to the device. So, Will I be able to enable Web Cam for recognizing objects using vision API.I'm using Hololens Emulator 10.0 version. 回答1: The simple answer is No. HL has own cameras, not compatible with a webcam. Update. For

Send multiple frame to AWS rekognition

左心房为你撑大大i 提交于 2019-12-12 20:03:47
问题 I'm trying to send pictures to the aws rekognition from my webcam to detect the activity of the person sitting in front of it using python. To do so I take a picture every 5 seconds and I send it to the aws. But when I do so it seems that he's always sending back information about the first frame that I sent cap = cv2.VideoCapture(0) while 1: ret, img = cap.read() client=boto3.client('rekognition') print("hello") ret, fileImg=cv2.imencode('.png',img) response = client.detect_labels(Image={

C api on capturing video stream from webcam using ffmpeg

∥☆過路亽.° 提交于 2019-12-12 13:40:35
问题 I am a new user of ffmpeg. Ffmpeg has a good documentation on using it in command-line, but i am looking for some C API code. I want to make a software using C, that would capture video stream from webcam and give me the video stream in raw format, that I would encode in a codec later. I have visited this given link, but it provided only the command-line use, not the use of libraries provided by ffmpeg: http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20capture%20a%20webcam%20input I also visited

Is it possible to fake a video stream as virtual cam that is visible in Skype, Lync etc?

不想你离开。 提交于 2019-12-12 09:58:54
问题 I'm trying to build a crucial part for my application in which I need to be able to fake a virtual cam video stream. The video stream that I want to fake as a virtual webcam is streamed through my PC, where I can set the video source from my webcam or somewhere from my hdd. To sum up, something I can set as MediaElement.SourceProperty or Image.Source in WPF. I've seen Vivek's Vcam, a directshow filter here in tmhare.com which seems like it is extremely related to what I'm looking for. But I

Canny: Lot of unwanted edges are detected

孤人 提交于 2019-12-12 09:29:13
问题 I am working on the following code: #include <iostream> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> using namespace std; using namespace cv; int main() { VideoCapture *camera = new VideoCapture(); camera->open(0); if(!camera->isOpened()) { cout << "No Camera" << endl; return -1; } Mat image,blur,canny; namedWindow("Video"); while(true) { *camera>>image; imshow("Video",image); cv::GaussianBlur(image,blur,Size(7,7),1.5,1.5); cv: