webcam

How to get a list of video capture devices (web cameras) on Mac OS? (C++)

喜夏-厌秋 提交于 2019-11-27 23:21:33
So all I need is simple - a list of currently avaliable video capture devices (web cameras). I need it in simple or C++ console app. By list I mean something like such console output: 1) Asus Web Camera 2) Sony Web Camera So It seems simple but I have one requirement - use of native OS apis as much as possible - no external libs - after all - all we want is to print out a a list - not to fly onto the moon!) (and no use of objective-C, please - pure C/C++) How to do such thing? also from this series: How to get a list of video capture devices on linux? and special details on getting cameras

How to get a list video capture devices NAMES (web cameras) using Qt (crossplatform)? (C++)

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 21:41:30
So all I need is simple - a list of currently avaliable video capture devices (web cameras). I need it in simple C++ Qt console app. By list I mean something like such console output: 1) Asus Web Camera 2) Sony Web Camera So my question is how to cout such list using Qt C++? (if it is possible I'd love to see how to do it in pure Qt - no extra libs...) also from this series: How to get a list of video capture devices on linux? and special details on getting cameras NAMES with correct, tested answers How to get a list of video capture devices on Mac OS? with correct, not yet tested by my

How to get web cam images in C#?

倾然丶 夕夏残阳落幕 提交于 2019-11-27 20:56:14
I'm working on online video conferencing project in C# and .Net4.0. I want a library or code which I can use for collecting web camera images per second in different form. I try this by using the AVICAP32, in which we send Messages for different purpose like copy or edit frames.but in this we have to pass a reference of picturebox while creating handler as given below: mCapHwnd = capCreateCaptureWindowA("0", 268435456 | 1073741824, 0, 0, 640, 480,picturebox1.Handle.ToInt32(), 0); Using these commands I'm able to capture images but the problem comes when I minimize the picturebox form. At that

Webcam library for C on Linux? [closed]

那年仲夏 提交于 2019-11-27 19:28:04
Is there any c library to get a video from the webcam on linux? A lot of us use OpenCV (cross-platform Computer Vision library, currently on v2.1) The following snippet grabs frames from camera, converts them to grayscale and displays them on the screen: #include <stdio.h> #include "cv.h" #include "highgui.h" typedef IplImage* (*callback_prototype)(IplImage*); /* * make_it_gray: custom callback to convert a colored frame to its grayscale version. * Remember that you must deallocate the returned IplImage* yourself after calling this function. */ IplImage* make_it_gray(IplImage* frame) { //

Virtual Webcam Driver

走远了吗. 提交于 2019-11-27 18:24:19
I want to develop a virtual webcam driver which from User mode I'll pass image to it and it will display as webcam output. I don't want to use DirectX filter and CSourceStream etc. Because they don't work on some programs which doesn't use DirectX for capturing webcam image. I have to write a kernel mode device driver so. Any ideas? I tried testcap from DDK samples, but it doesn't process image from user mode and doesn't get any input, just it displays 7 colors in webcam... Any help would be greatly appreciated. Thanks Thank you all! I tried code from here: http://tmhare.mvps.org/downloads.htm

How can I check if user has a webcam or not? [closed]

六月ゝ 毕业季﹏ 提交于 2019-11-27 17:20:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I need to know if there's a way to know if the user has a webcam on his computer using javascript or maybe php. 回答1: There is a plugin: http://www.xarg.org/project/jquery-webcam-plugin/ if(webcam.getCameraList().length == 0){ alert('You don\'t have a web camera'); } 回答2: if(confirm('Do you have a webcam?')) { /

Best way to access web camera in Java

爱⌒轻易说出口 提交于 2019-11-27 17:15:02
I need to access web camera using Java. This is what I want to do Access web cam Now the user can see web cam working because his face is visible on screen (have heard some libs are there which doesn't show the video output of webcam) when user click save button, take a snapshot and save it I have tried number of ways to do this, from a long time. JMF - Now it is dead FMJ - Now it is dead too VLCJ - too much because I am not creating a music/video player and it expect VLC to be installed Xuggler - too much and hard work JMyron - didn't work JavaFX - I thought it could do it, but seems like it

Getting a snapshot from a webcam with Delphi

空扰寡人 提交于 2019-11-27 15:15:04
问题 I need to get a regular snapshot from a webcam in Delphi. Speed is not a problem (once a second is fine). I have tried demo code from based on stuff from http://delphi.pjh2.de but I can't get it to work. It compiles and runs OK but the callback function never fires. I don't have a real webcam but am running instead a simulator. The simulator works (I can see the video using Skype) but not with the test app. I don't really know where to start looking... Can anyone be bothered to try this code?

Select Timeout error in Ubuntu - Opencv

ぐ巨炮叔叔 提交于 2019-11-27 14:22:50
问题 I am trying to set OpenCv up for my final year project and have run into a couple of problems. I successfully got it set up in Ubuntu following this tutorial. The problem I am having now is keeping this sample program running. The program is face detection using a webcam. It runs fine for 3 or 4 seconds and then the capture gets stuck with a single frame in the window. The console displays the following output. tom@ubuntu:~/College/opencv/faceDetect_sample$ make ./faceDetect --cascade=

always accept webRTC webcam request

穿精又带淫゛_ 提交于 2019-11-27 13:49:26
问题 I'm building a web application that uses the computer's webcam via webRTC. The site is only running on one specific machine which will shut down and reboot once a day. My problem is: how do I get the machine to automatically confirm the webcam dialogue once the site has loaded? The system is OSX Leopard with the latest Chrome. Thanks already, I'm open for anything. 回答1: There is a Chrome option for that: (This works in both http and https ) --use-fake-ui-for-media-stream - Windows : start