webcam

jquery webcam plugin with asp.net mvc 3

三世轮回 提交于 2019-12-19 03:25:13
问题 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

python pygame.camera.init() NO vidcapture

主宰稳场 提交于 2019-12-19 03:13:09
问题 I am trying to initialize the camera module in pygame and display video from a usb webcam. This is my code: import pygame import pygame.camera from pygame.camera import * from pygame.locals import * pygame.init() pygame.camera.init() cam = pygame.camera.Camera("/dev/video0",(640,480)) cam.start() image = cam.get_image() Yet i get this error: Traceback (most recent call last): File "C:/Users/Freddie/Desktop/CAMERA/Test1.py", line 7, in <module> pygame.camera.init() File "C:\Python27\lib\site

How to detect motion between two PIL images? (wxPython webcam integration example included)

久未见 提交于 2019-12-18 10:29:47
问题 Does anyone have any suggestions as to how I might do image comparison in python to detect changes within an image? I'm currently working on an app that will monitor my area with my webcam, I would like to figure out how to compare the images taken each frame to see if any motion has been detected. In the long run I would like to setup a sensitivity slider so if you are able to guide me in the direction I'm sure I can figure the rest out. As I have seen a few posts on here asking about

Finding distance from camera to object of known size

帅比萌擦擦* 提交于 2019-12-18 10:18:07
问题 I am trying to write a program using opencv to calculate the distance from a webcam to a one inch white sphere. I feel like this should be pretty easy, but for whatever reason I'm drawing a blank. Thanks for the help ahead of time. 回答1: You can use triangle similarity to calibrate the camera angle and find the distance. You know your ball's size: D units (e.g. cm). Place it at a known distance Z , say 1 meter = 100cm, in front of the camera and measure its apparent width in pixels. Call this

Two webcams on one usb hub - bandwidth issues

最后都变了- 提交于 2019-12-18 09:07:14
问题 I'm using OpenCV 2.3 to capture video from two webcams on a Linux computer(Ubuntu 10.04) which only has one USB hub. I'm getting an error "videoc_streamon: No space left on device" when cv.QueryFrame is called for the second camera the first time and "vidioc_qbuf: invalid argument" on subsequent calls. I know that this is a USB bandwidth issue, so I tried lowering the resolution to 320 x 240 with cv.SetCaptureProperty, which appears to not change anything (confirmed by a call to cv

HTML 5 streaming webcam video?

白昼怎懂夜的黑 提交于 2019-12-17 18:55:55
问题 Is it currently possible to create a flash free live webcam chat with HTML5? If so, how can I go about doing this? 回答1: no It is in the html5 draft http://www.whatwg.org/specs/web-apps/current-work/complete/video-conferencing-and-peer-to-peer-communication.html#obtaining-local-multimedia-content here is a much deeper conversion about this issue What's the status of the HTML 5 <video> tag and webcam integration? and here is a solution that works using flash http://code.google.com/p/jpegcam/

Using PHP to Access a User's Webcam

最后都变了- 提交于 2019-12-17 18:11:25
问题 I'd like to allow users to record videos directly from their webcam. I haven't done much work with PHP but am stuck with it for this project. We currently have a system in place for video uploading and encoding, but nothing to actually access a user's webcam. How would you recommend I proceed? 回答1: Webcams aren't available to HTML or JavaScript/DOM in any browsers that I know of, so you're going to end up dependent on some sort of plugin. I'd recommend you start your search with Adobe Flash

How to get a list video capture devices NAMES (web cameras) using Qt (crossplatform)? (C++)

放肆的年华 提交于 2019-12-17 16:13:44
问题 So all I need is simple - a list of currently avaliable video capture devices (web cameras). I need it in simple C++ Qt console app. By list I mean something like such console output: 1) Asus Web Camera 2) Sony Web Camera So my question is how to cout such list using Qt C++? (if it is possible I'd love to see how to do it in pure Qt - no extra libs...) also from this series: How to get a list of video capture devices on linux? and special details on getting cameras NAMES with correct, tested

C# + DirectShow.NET = Simple WebCam access?

与世无争的帅哥 提交于 2019-12-17 10:46:48
问题 I have found an example for accessing a webcam in C#. The example uses the DirectShow.NET library. I have tried to understand the code, but so far the only thing I could figure out is that somehow the usercontrol calls directshow to draw directly to the surface of the user control. I want to access each frame and put it into a Bitmap object. How can I tell when a new frame arrived? How can I capture this new frame into a Bitmap Object? This might be simple to answer if you know your way

Save video captured from webcam using Flash

喜夏-厌秋 提交于 2019-12-17 10:37:27
问题 I'd like to use Flash to capure video from the user's webcam and then save it on the same server that hosts the Flash file. The web server will be running ASP.Net technology. Seems easy, right? Lot of searches yielded the same lines of code to start a webcam capture using Flash. I can't find anything that sends that captured video back to a server. I can find lots of blog and forum posts that imply 3rd party software or Flash Communication Server is required to collect it on the server, but I