webcam

QT GUI freezes when capturing video from webcam using OpenCV

ⅰ亾dé卋堺 提交于 2019-11-30 21:16:04
I am using Opencv for some real-time video processing. As a front-end I am using QT framework. On my GUI, I have an input image window (mapped to a Label) and an output image window (mapped to another Label) and 3 push buttons. One to Start input video capture, the second to process the video (code not written yet), and third to Exit. I am currently able to stream my video and display it on the Front-end. But this locks my GUI and am unable to Exit. I tried using QTimers (using suggestions from this and the QT forum), but my GUI still remains locked. Would appreciate if someone can point my in

jquery webcam plugin with asp.net mvc 3

隐身守侯 提交于 2019-11-30 21:05:53
has anyone gotten this http://www.xarg.org/project/jquery-webcam-plugin/ , to work with aps.net mvc 3? I can't seem to decode the image, using the WebImage class or BitmapImage. I've tired to do this with Silverlight, but I'm really unsure on how to upload the image. I do not need to save the image, I just want to process it, what im really looking to do is read a bar-code via web app. I just can't seem to find a good guide to uploading an image from Silverlight or flash to my MVC app. Thanks in advance. The documentation contains many examples. All that's needed is to read and try out. So

AS3 - Webcam video dimensions not carrying over into new BitmapData - defaulting to 320x240

丶灬走出姿态 提交于 2019-11-30 21:05:37
问题 I am attempting to capture a 1920x1080 webcam capture and create a new bitmap with the capture. I feel like I have all the dimension settings correct but the final 1920x1080 bitmap only contains a small 320x240 version of the video capture. Help! import flash.display.Bitmap; import flash.display.BitmapData; var bandwidth:int = 1000; // Maximum amount of bandwidth that the current outgoing video feed can use, in bytes per second. var quality:int = 100; // This value is 0-100 with 1 being the

jQuery webcam plugin - saving image

China☆狼群 提交于 2019-11-30 16:25:06
im having a hard time saving the image captured from the webcam using the jquery webcam plugin. here's the code.. $(document).ready(function(){ $("#camera").webcam({ width: 320, height: 240, mode: "save", swffile: "jscam.swf", }); }); i am using the 'save' mode. in the body part.. <div id="camera"></div> <a href="javascript:webcam.save('upload.php');void(0);">capture</a> in the upload.php part.. $str = file_get_contents("php://input"); file_put_contents("upload.jpg", pack("H*", $str)); i also tried the callback mode still doesnt work. it seems the blog itself has insufficient examples http:/

Preview a camera in DirectShow and capture a still image - in VB.net

我只是一个虾纸丫 提交于 2019-11-30 16:14:46
I am trying to write a program in Visual Studio 2008 that will access a webcam, show a preview on the screen and then save a still snapshot (.jpg) when the button is pushed. Later I am going to integrate it with a database, but I shouldn't have a problem with that part. After doing some research, it looks like DirectShow is the best bet, because WIA didn't work on the camera I had (and I'm not sure it will continue to work into the future). Preferably, I need my solution to work from Windows XP to Windows 7. I have never used DirectShow (or similar) before. One problem I am running into is

jQuery webcam plugin - saving image

自古美人都是妖i 提交于 2019-11-30 16:08:37
问题 im having a hard time saving the image captured from the webcam using the jquery webcam plugin. here's the code.. $(document).ready(function(){ $("#camera").webcam({ width: 320, height: 240, mode: "save", swffile: "jscam.swf", }); }); i am using the 'save' mode. in the body part.. <div id="camera"></div> <a href="javascript:webcam.save('upload.php');void(0);">capture</a> in the upload.php part.. $str = file_get_contents("php://input"); file_put_contents("upload.jpg", pack("H*", $str)); i also

accessing webcam in web pages

依然范特西╮ 提交于 2019-11-30 15:44:06
问题 I am developing a web application. In my guest registration page I need to access web cam for taking images of guests. The image which I take could be able to stored in a specified location. Which will be the best way to perform this. Methods using java, JSP, html, java script or any other methods are welcomed. 回答1: jQuery Webcam Plugin does the hard work for you: http://www.xarg.org/project/jquery-webcam-plugin/ 回答2: Answering own question, as there is a better way using HTML5 is available.

Accessing Multiple camera javascript getusermedia

旧时模样 提交于 2019-11-30 15:32:25
guys i have two cameras that is -the web camera -the laptop camera i want to stream those camera in a website i already have some reference here is some code that is working on jsfiddle here <video id="video" width="640" height="480" autoplay></video> <button id="snap" class="sexyButton">Snap Photo</button> <canvas id="canvas" width="640" height="480"></canvas> <script> // Put event listeners into place window.addEventListener("DOMContentLoaded", function() { // Grab elements, create settings, etc. var canvas = document.getElementById("canvas"), context = canvas.getContext("2d"), video =

Use MediaCapture on a Windows 8 desktop app

我们两清 提交于 2019-11-30 15:28:44
问题 On a Windows 8 desktop app, I need to take a photo using the camera in C# 4.5. I've tried to use the CameraCaptureUI class, but it is not available on a desktop app. So I try to use the MediaCapture class, which is available for Metro app or desktop app. It works great, based on the example found here : http://code.msdn.microsoft.com/windowsapps/media-capture-sample-adf87622/ var capture = new MediaCapture(); // Find the camera device id to use string deviceId = ""; var devices = await

How to capture image from client webcam in asp.net

青春壹個敷衍的年華 提交于 2019-11-30 14:28:37
I am working on an ASP.Net application and I want users to be able to take a picture with their local webcam and then upload it to the server. I can, of course, rely on users doing this manually via their locally installed software, save the image as a file and do a normal file upload. However, what I really want to do is incorporate it all into a UI in the browser. I know this means accessing local resources so do I need an ActiveX control or Silverlight or is there something I could do in Javascript for example? This is initially intended for an Intranet app so I can have control of the