webcam

Save Silverlight webcam image (ImageSource) to Server

梦想的初衷 提交于 2019-12-08 04:28:05
问题 This is as far as I've gotten. What code would I write to save a captured image to the server? Without any dialog prompting for a save location. Similar to the way Facebook does it. (I've been unable to find examples online) void CaptureSource_CaptureImageCompleted(object sender, CaptureImageCompletedEventArgs e) { capturedImage.ImageSource = e.Result; stopCapture(); // turns off webcam } 回答1: It is not that simple. Create a WCF service on the server. Consume it on the silverlight client.

Converting 24bit RGB image to 8bit grayscale with opencv-node in node.js

▼魔方 西西 提交于 2019-12-08 04:23:58
问题 I'm trying to capture images within node.js from a webcam connected to a Raspberry Pi. Capturing works fine, but now when I want to transmit the images I have some serious problems with framerate and lags. Now my first idea was to convert the RGB images to 8bit grayscale, that should increase the performance by factor 3 (i hope..). I'm using node.js and opencv-node for this. Here you can see some code snippet for the moment: var startT = new Date().getTime(); var capture = new cv.VideoCapture

Flash: Grant access to webcam programmatically / behind the scenes?

萝らか妹 提交于 2019-12-08 04:16:07
问题 We're building a kiosk app that will have a fairly wide deployment. The app is in Flash running in a browser and requires the use of the webcam. As it stands, each kiosk will show the usual Flash "do you want to allow the use of your camera/microphone" dialog, which I suppose a local admin could click through, choose "remember," etc. Given that this is a kiosk app, where we have access to the machines themselves (or at least to people who do), is there a way to pre-seed the whitelist so the

Socket programming with usbcam using python 3.4 opencv 3.2

你。 提交于 2019-12-08 03:43:29
问题 I am doing a project that needs to live stream the video at the client side using USB webcam at the server side. I am using ( Opencv 3.2.0 + python 3.4.3 ). The below given code works fine, I want to know how this code actually works and how it is transferring the frames to the client. There is a delay in this code, and how to overcome that delay. I tried to set resolution but it gives error at the client side like ( [Error]: total size of new array must be unchanged ).when i set it to

Windows: how to get cameras supported resolutions?

女生的网名这么多〃 提交于 2019-12-08 02:13:58
问题 So to get cameras list and let user select one (C++, Boost, dshow, windows) I use such code: #include "StdAfx.h" #include "list.h" #include <windows.h> #include <dshow.h> #include <boost/lexical_cast.hpp> HRESULT CamerasList::EnumerateDevices( REFGUID category, IEnumMoniker **ppEnum ) { // Create the System Device Enumerator. ICreateDevEnum *pDevEnum; HRESULT hr = CoCreateInstance(CLSID_SystemDeviceEnum, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pDevEnum)); if (SUCCEEDED(hr)) { // Create an

NetStream.publish Webcam to FMS working in standalone player, but not in browser

Deadly 提交于 2019-12-08 01:59:05
问题 I am trying to publish the video of a webcam to a Flash Media Server 2. My code is working in the Flash standalone player (tested with 10.0 and 10.2), but not in the browser plugin (tested with 10.2, both in IE and Opera. The connection to my FMS is working successfully, but after the publish, nothing happens, I never get the NetStream.Publish.Start Event. On the server I can see the connection in the management console, even the stream in the streams tab. But I cannot connect to that strea.

.NET Options Stream Video Files as WebCam Image

寵の児 提交于 2019-12-07 18:52:01
问题 I am interested in developing an application that will allow me to build a list of videos from xml (containing video title, duration, etc) and play that list as my webcam stream. Meaning, if I were to visit ustream.tv, or activate my webcam on live messenger my video playlist would register as my active webcam. Does anybody have experience in this area, and perhaps have some advice to offer? 回答1: I don't have a lot of experience in this area, but I would start by looking at the MSDN docs for

OpenCV capturing desktop screen live

浪尽此生 提交于 2019-12-07 09:57:07
问题 I'm using OpenCV for a c++ coding project. I'm having some difficulty with some of the limitations in OpenCV, I want to analyse a video file and detect certain objects. This works perfectly, but now I want it to analyse a section of my desktop screen. (live) Does anybody have a clue how to accomplish this? I thought of making a webcam simulator that captures my desktop screen but I think thats way to complicated and it should be much more easy. 回答1: If you're targeting Windows OS, the option

Take a picture automatically using a webcam in C# using WIA

↘锁芯ラ 提交于 2019-12-07 09:12:01
问题 I'm using WIALib to access my webcam. The code I'm developing is pretty simple: when a button is pressed a webcam picture is taken, and then displayed in a picture box. I can already take pictures with my webcam, but it isn't yet fully automated. The only way I found to retrieve the pictures taken by the webcam, is using this: wiaPics = wiaRoot.GetItemsFromUI( WiaFlag.SingleImage, WiaIntent.ImageTypeColor ) as CollectionClass; But this asks the user to select the picture. And I always want

Is there a way to create a duplicate device of webcam?

…衆ロ難τιáo~ 提交于 2019-12-07 08:23:29
I am writing a multi-thread application in C# to process webcam input concurrently. Is there any code project that can create a duplicate of the webcam as a new device, so each thread can take either the real device or the virtual device and not interfere with each other? Many software claimed to "split" webcam (used for effect and filter), but once the device they created is being used, there is no way to open the real device. In other words, I need the webcam to act as two, and with each one of them being access at the same time. Video capture devices are typically "exclusive mode" use