webcam

OpenCV 2.4.4 Java - Grab Webcam picture/stream (OSX)

假装没事ソ 提交于 2019-12-12 07:17:56
问题 I'm new in the world of Stackoverflow and in OpenCV programming. I've made some projects with OpenCV Bindings for Java (the opencv.org officials, not JavaCV), like object recognition through ORB and SURF features, working with images. Everything ok. Now I'm moving to object recognition in video streams. I want to grab stream from webcam and apply object recognition. I'm not a Java guru, so I found in OpenCV the VideoCapture class, but I'm not able to obtain pictures from the camera. I'm

How to capture image from client webcam in asp.net

柔情痞子 提交于 2019-12-12 07:15:40
问题 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

How to use a computer's webcam to read a qr code and open a website [Java] [closed]

纵饮孤独 提交于 2019-12-12 05:58:02
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . First let me provide a brief description of what I am trying to accomplish: I am trying to create a java program that can scan/read a qr code positioned in front of the computer webcam (The QR codes I would be using would all just have url information stored within them). After

Capture still image from webcam (DirectSHowLib, VB.NET)

别来无恙 提交于 2019-12-12 04:21:43
问题 I'm ashamed, but I'll ask anyway: which is the most straightforward way to take a picture from a webcam with its default size and color-depth? I started playing with DirectShowLib but I'm clueless... Can anyone guive me a guidance? Imports DirectShowLib Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click PictureBox1.Image = Nothing Dim Cam As DsDevice = DsDevice.GetDevicesOfCat(FilterCategory.VideoInputDevice).FirstOrDefault If Cam IsNot

Can we have different resolutions for Preview and Capture of the same DirectShow graph?

北城以北 提交于 2019-12-12 03:12:56
问题 I have 2 streams, one for Preview and one for capture in my DirectShow application. Right now, we observe that the Preview is slow for 1080P video and 1280*720 video. I would like to know if we have any method to have different resolutions for the capture and preview streams. If we have any, I can use the high resolution at capture side alone and at Preview, I am OK to display low resolutions. Thanks 回答1: You can connect the capture output to a Infinite Tee filter. Use one output of the tee

Run javafx and swing application at the same time

不打扰是莪最后的温柔 提交于 2019-12-12 01:48:36
问题 I'm using Webcam Capture API in java to access my webcam. Webcam Capture API is built on Swing, I know that, however I want to combine the Webcam Swing class with my JavaFX class. The JavaFX class displays a rectangle on the screen. My goal is: I run my JavaFX class which displays the rectangle on the screen. At some point (e.g. mouse click) I want to start the Webcam. The Webcam is setup to look at the screen and should then do certain things with the images of the rectangle. JavaFX class:

Java webcam Application keeps running in the background

扶醉桌前 提交于 2019-12-12 01:38:48
问题 I have a simple application that opens up the webcam and puts the live feed on the screen. If a user clicks on the image then the frame is saved a .png in the hard drive. But the problem is the application runs properly for the first time. But when i restart it it fails Myron BETA 2.4 # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x003744a0, pid=5688, tid=1328 # # JRE version: 7.0_02-b13 # Java VM: Java HotSpot(TM)

OpenCV not working correctly on mac

半腔热情 提交于 2019-12-11 23:26:31
问题 I have a program that uses OpenCV to take a picture using your webcam. It works like a charm on windows, yet, it doesn't work on OSx. The Frame where the Webcam view should appear stays empty. And when I take a picture, it just shows a black void, as if it couldnt find the webcam public void run(){ try { grabber = new VideoInputFrameGrabber(0); grabber.start(); while (active) { IplImage originalImage = grabber.grab(); Label.setIcon(new ImageIcon( originalImage.getBufferedImage() )); } grabber

How to capture 8MP still image from a Microsoft LifeCam programatically?

跟風遠走 提交于 2019-12-11 23:09:43
问题 I have a Microsoft LifeCam that is capable of capturing 8MP (3840 x 2160) still jpg images. Using the software that comes with the LifeCam when you switch to this mode then video capture is disabled. It is intended for still photos only. Video capture only goes up to 1280 x 720. I can't see how to get access to the functionality using any method other than the supplied software. When inspecting the capture device in GraphEdit there is only 1 pin (called "capture") and it only supplies video.

need help on button to switch on webcam for C# based QR code project

房东的猫 提交于 2019-12-11 19:17:11
问题 i am currently learning on QR code webcam decoder. i have taken an example from https://zxingnet.svn.codeplex.com/svn/trunk/Clients/AForgeDemo/ and have succesfully build it without error. however when i run it with my webcam connected, no input or it wont switch on the webcam. based on my understanding, the webcam would be switch on when user select it at combobox. well, since there is no error at build, i cant pinpoint what went wrong. i have also taken a look at a project which switch on