webcam

WPF integrating with web cam

若如初见. 提交于 2019-12-01 10:51:15
问题 How do you integrate a PictureBox to display a video through WPF? 回答1: You probably don't want to use PictureBox to display images in WPF because it's a Windows Forms control and therefore suffers from interop limitations. To display an image in WPF, use the Image element. Set its Source to be, typically, a BitmapImage whose UriSource is the URI of the bitmap file (which might be on the file system). (You can use another ImageSource type if that's an easier way to interface with the webcam.)

I want to capture a video using jQuery webcam plugin

家住魔仙堡 提交于 2019-12-01 09:06:37
问题 I want to capture live webcam in the form of video, i am not getin the proper example in the official page documentation of the webcam plugin.How to do so??? 回答1: Plugin which allows jQuery to read data from a user's webcam or other video capture device http://plugins.jquery.com/project/webcam 回答2: I got the perfect plugin i wanted Opentok api 来源: https://stackoverflow.com/questions/8208632/i-want-to-capture-a-video-using-jquery-webcam-plugin

Close webcam usage via actionscript

折月煮酒 提交于 2019-12-01 08:59:29
Is there way, how to close webcam connection in actionscript. I am opening stream through Camera.getCamera(). Problem is, that after freeing webcam instance (i tried many ways) LIGHT on webcam is still beam (tried on macbook pro). You can simply call video.attachCamera(null) to free the camera. The below example demonstrates the code. When you click on the stage, Camera is toggled on/off. package { import flash.display.Sprite; import flash.events.Event; import flash.events.MouseEvent; import flash.media.Camera; import flash.media.Video; public class testAS3 extends Sprite { public var cam

How to capture video from webcam(in java)? [duplicate]

南笙酒味 提交于 2019-12-01 08:54:38
This question already has an answer here: Capturing image from webcam in java? 16 answers 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? Check out David's solution using JMF: http://www.mutong.com/fischer/java/usbcam/ I would recommend using webcam-capture project (I'm the author). There is a example of how to record video from webcam device - you can find it here . This project

Webcam MJPG capture streams are unavailable on Windows 10

喜你入骨 提交于 2019-12-01 08:40:16
问题 On Windows 10 build 10.1607.14393.10 (aka Anniversary edition) I am unable to get MJPG capture streams anymore. Used to be both MJPG and YUY2 resolutions, now I am getting only YUY2 in DirectShow (Kernel Streaming) and in Media Foundation MJPG converted media types into NV12 way before IBaseFilter source is connected to anything. Tried on multiple systems with different cameras. Any ideas what might be wrong? 640x480 @30 YUY2 ... 640x480 @30 MJPG <- gone ... DirectShow: com_t<IAMStreamConfig>

where can i find Java JMF tutorial

雨燕双飞 提交于 2019-12-01 08:34:22
I'd like to know about basic classes for playing video from webcam I'd also like to play with video buffers pixels where can i find a Java JMF tutorial that will help me achieve that? JMF API http://www.deitel.com/articles/java_tutorials/20060422/PlayingVideowithJMF/ I liked the Program multimedia with JMF 2-part ( second part here ) series a lot when first experimenting with the framework. 来源: https://stackoverflow.com/questions/402459/where-can-i-find-java-jmf-tutorial

Webcam capture and convert to avi

倖福魔咒の 提交于 2019-12-01 08:09:49
Im trying to make a program that captures a video from the webcam and sound from the microphone but im getting stuck at the part where ive try to make a movie out of still images ive heard you need to use directshow but it doesnt jet work for me Does someone know a good piece of example code that captures video and sound and can encode it to a file (divx or something like that) ? or some suggestions where to look so i can build it myself (if a other programming language is better for this im happy to know it early. ) I believe AForge.net has video creation utilities built in. It might use

如何把OpenCV Python获取的图像传递到C层处理

此生再无相见时 提交于 2019-12-01 08:03:59
用OpenCV Python来开发,如果想要用到一些C/C++的图像处理库,就需要创建Python的C/C++扩展,然后把数据从Python传递到底层处理。这里分享下如何在C/C++层获取数据。 参考原文: How to Convert OpenCV Image Data from Python to C 作者: Xiao Ling 翻译:yushulx 开发环境 Dynamsoft Barcode Reader 4.2 Python version: 2.7.0 OpenCV version: 2.4.10. Download cv2.pyd Windows 10 USB webcam Python C/C++扩展 把 DynamsoftBarcodeReaderx86.dll 和 cv2.pyd 拷贝到目录 Python27\Lib\site-packages 。 OpenCV Python获取的图像数据类型是 numpy.ndarray: > rval, frame = vc.read(); > print type(frame) > <type 'numpy.ndarray'> 在C层我们希望能获取到数据的指针。查看OpenCV源码文件 opencv\modules\python\src2\cv2.cv.hpp 可以找到方法: PyObject *o; if (!PyArg

使用DirectShow.NET获取摄像头视频流

我是研究僧i 提交于 2019-12-01 08:03:50
开源社区提供了DirectShow的.NET版本,为C#开发者提供了便利。这里分享下如何用DirectShow.NET API来启动摄像头,以及获取视频流数据。 参考原文: Read Barcode from Webcam Viewer with DirectShow.NET 作者: Xiao Ling 翻译:yushulx 学习资源 DirectShow.NET library DirectShow.NET Documentation DirectShow.NET samples 示例:获取视频流数据识别barcode 获取连接设备: DsDevice[] devices = DsDevice.GetDevicesOfCat(FilterCategory.VideoInputDevice); 获取DirectShow接口: int hr = 0; this.graphBuilder = (IFilterGraph2)new FilterGraph(); this.captureGraphBuilder = (ICaptureGraphBuilder2)new CaptureGraphBuilder2(); this.mediaControl = (IMediaControl)this.graphBuilder; this.videoWindow = (IVideoWindow

Can't access properties of cv::VideoCapture with Logitech C920

爷,独闯天下 提交于 2019-12-01 06:41:24
I am developing a small webcam application with Logitech C920 and OpenCV. I can actually get images from camera without any problem with given resolution. But except for frame width and height, I can't access any setting in the camera. I have following code. As you can guess, the code produced all zero lines except for the first two. Am I doing something wrong? or Is this another proprietary BS from Logitech? If this is limitation of OpenCV, is there any other option to develop an application for this webcam in Windows OS? m_cam.open(0); if(!m_cam.isOpened() ) // check if we succeeded { std: