webcam

QR code webcam scanner c#

做~自己de王妃 提交于 2019-12-23 06:26:21
问题 I Have tried various QR code libraries and webcam capturing techniques. Capturing photos within a specific time interval and then sending it to the QR code library seemed as a good idea but the success ratio for detecting the QR code is extremely low. Could anyone recommend a better approach for detecting the QR code through webcam? Thanks a lot :) Code: void FinalVideo_NewFrame(object sender, NewFrameEventArgs eventArgs) { Bitmap video = (Bitmap)eventArgs.Frame.Clone(); pictureBox1.Image =

QR code webcam scanner c#

ε祈祈猫儿з 提交于 2019-12-23 06:24:47
问题 I Have tried various QR code libraries and webcam capturing techniques. Capturing photos within a specific time interval and then sending it to the QR code library seemed as a good idea but the success ratio for detecting the QR code is extremely low. Could anyone recommend a better approach for detecting the QR code through webcam? Thanks a lot :) Code: void FinalVideo_NewFrame(object sender, NewFrameEventArgs eventArgs) { Bitmap video = (Bitmap)eventArgs.Frame.Clone(); pictureBox1.Image =

Stream OpenCV output as emulated webcam?

自闭症网瘾萝莉.ら 提交于 2019-12-23 04:44:05
问题 Im working with the Intel Realsense Camera which outputs video in PXCImage format. I want to read this in Java or C++, convert it to OpenCV Mat format and stream it live as a webcam stream which can be read by any other webcam application. Ive found code to read and convert the stream to Mat format, but Im stuck at the part where I have to output it as a webcam stream so it can be read by any arbitrary application. Is there any way in C++ or java to emulate a webcam and output video through

How to overlay small animation on camera stream in opencv

风流意气都作罢 提交于 2019-12-22 11:25:04
问题 I am developing an application using opencv as my college project, it's almost done except that i am unable to overlay a animated video( a flash video) over my camera stream, i want to capture user mouth and after detecting mouth i want to overlay a animated video of smoke. Please can anyone help me with the overlaying part? If it is not possible can you shed some light on any workaround I am using opencv 2.3.1 and ubuntu 11.10. 回答1: Basically, all you need to do is set a ROI (Region of

Access webcam from multiple applications simultaneously

筅森魡賤 提交于 2019-12-22 09:37:48
问题 The problem background - there are two different windows applications that are trying to access webcam on the computer at the same time. Currently, only one application is able to access to it. I want to be able to allow both applications to simultaneously access the webcam. A common example of my problem is, skype and yahoo messenger trying to access the webcam on the computer at the same time. I found a few softwares (manycam.com, http://www.splitcamera.com/) that allow this on windows. But

How to grab constant stream of bitmap images from webcam in c#

青春壹個敷衍的年華 提交于 2019-12-22 08:16:35
问题 We have a c# application that performs processing on video streams. This is a low-level application that receives each frame in Bitmap format, so basically we need 25 images each second. This application is already working for some of our media sources, but we now need to add a webcam as an input device. So we basically need to capture bitmap images from a webcam continuously so that we can pass all these frames as a "stream" to our application. What is the best and simplest way to access the

python: tkinter to display video from webcam and do a QR scan

安稳与你 提交于 2019-12-22 04:08:04
问题 I have been trying to create a tkinter top level window that streams video form webcam and do a QR scan. I got this QR scan code from SO and another code that just updates images from webcam instead of streaming the video on a tkinter label. and i tried to combine these both so that a toplevel window with a label updating image from webcam and a close button to close the toplevel window. And while it streams the images, it can scan for QR code and if a scan is successful, the webcam and the

C# control to display camera video with DirectShow.Net

守給你的承諾、 提交于 2019-12-22 00:24:00
问题 I want to use DirectShow.Net to capture the stream from a webcam. What type of UI control can I use to display a the webcam video capture? I have seen an example that uses the whole window of a Form, but are there any other controls I can use: a Panel, PictureBox? 回答1: yes. you can use pictureboxes or forms or panels. You need to call and use IVideoWindow. you can cast the directshow.net graph that is streaming/capturing to the IVideoWindow and then you can set it to being owned by whatever

Capture video using webcam in Java

偶尔善良 提交于 2019-12-21 12:26:38
问题 I am trying to capture video screenshot from a java application. I have donwloaded the sarxos/webcam-capture library. I have add to my project the executable jar. It is a little bit mess. I want to capture video from a simple javafx interface that I have created. The issue is that after installing the lib and slf4 then it required to install also xuggle. I add xuggle in the path and my code is the following: File file = new File("output.ts"); IMediaWriter writer = ToolFactory.makeWriter(file

OpenCV : How to display webcam capture in windows form application?

*爱你&永不变心* 提交于 2019-12-21 12:21:43
问题 generally we display webcam or video motion in opencv windows with : CvCapture* capture = cvCreateCameraCapture(0); cvNamedWindow( "title", CV_WINDOW_AUTOSIZE ); cvMoveWindow("title",x,y); while(1) { frame = cvQueryFrame( capture ); if( !frame ) { break; } cvShowImage( "title", frame ); char c = cvWaitKey(33); if( c == 27 ) { break; } } i tried to use pictureBox that is successful to display image in windows form with this : pictureBox1->Image = gcnew System::Drawing::Bitmap( image->width