webcam

Capturing and manipulating a webcam feed and exposing it as a “virtual webcam” - in Python, on Windows

孤街浪徒 提交于 2021-02-07 13:00:22
问题 The final goal would be to capture the regular webcam feed, manipulate it in some way (blur face, replace background, ...) and then output the result in some way so that the manipulated feed can be chosen as input for whatever application expects a webcam (Discord, Teams, ...). I am working on a Windows machine and would prefer to do this in Python. This combination has me lost, at the moment. capturing and manipulating is easy with https://pypi.org/project/opencv-python/ the exposing the

How to record video with webcam in Safari on iOS and macOS?

青春壹個敷衍的年華 提交于 2021-02-07 08:00:32
问题 I've released several paths: 1) Recording video with https://caniuse.com/#feat=html-media-capture But it works only on iOS and cannot be customizable. I need to render a red frame over the video preview layer and limit video length to 30 seconds. 2) Recording with a WebRTC client placed on the server, but I can't find any software to do that. I've found kurento media server, but its client js utils library does not support Safari 11. 3) Recording with flash plugin. But it is not supported on

Capture high resolution video/image html5

元气小坏坏 提交于 2021-02-06 08:57:12
问题 I use geUserMedia() to capture image from webcam Intro. Best resolution that I get is 640 X 480 , but I have HD webcam that records video with 1280 X 720 , takes a picture 2592 X 1944 . How can I capture High Resolution photos? Here is one sample of code. It doesn't care about canvas size: <video autoplay id="vid" style="display:none;"></video> <canvas id="canvas" width="1280" height="720" style="border:1px solid #d3d3d3;"></canvas><br> <button onclick="snapshot()">Take Picture</button>

Merge multiple canvas in one (to export it) using vanilla Javascript

China☆狼群 提交于 2021-01-29 07:23:23
问题 I'm in a situation where I generate multiple canvas (~200) where I draw an image snapped from the user webcam (experimentation of the "photo finish" technique). I have to export those canvas as a simple jpeg as shown in the following image. You can also see how it should visually look like (multiple stripe as multiple canvas, those I have to export as one and only Jpg). Any idea or direction of how proceed? Thanks in advance! AW. 回答1: Simply use drawImage(). It accepts an other canvas as

Visual Basic Connect to Webcam and Save Picture to File

最后都变了- 提交于 2021-01-29 06:29:24
问题 Most simply put, I want to connect to a built in web cam in my computer using visual basic, take a single picture, and save that in a file. I have spent about an hour or so looking for a reasonable way to do this, and have found a few suggestions. Unfortunately many the methods that I have tried seem unnecessarily complicated and I have yet to see one of them work on my computer. For example, I have tried using the icam class referenced in several places, where this code Public Class Form1

Visual Basic Connect to Webcam and Save Picture to File

强颜欢笑 提交于 2021-01-29 06:22:31
问题 Most simply put, I want to connect to a built in web cam in my computer using visual basic, take a single picture, and save that in a file. I have spent about an hour or so looking for a reasonable way to do this, and have found a few suggestions. Unfortunately many the methods that I have tried seem unnecessarily complicated and I have yet to see one of them work on my computer. For example, I have tried using the icam class referenced in several places, where this code Public Class Form1

video capture card (webcam like) with OpenCV

末鹿安然 提交于 2021-01-29 05:31:10
问题 I want to use video capture card to capture my screen display, and process the image by OpenCV/C++. I have heard that there's some video capture card which is webcam like.(i.e. I can get the screen display by VideoCapture in OpenCV.) Can someone tell me which video capture card should I buy? Thanks !!! 回答1: I do not know if there some way to achieve that directly using OpenCV. However, a simple workaround could be like this: Using this software you can create new webcam that stream your

Artificial webcam on windows

ぐ巨炮叔叔 提交于 2021-01-28 05:38:27
问题 I use v4l2loopback to generate a webcam in linux and I feed the virtual webcam with Opencv images. I would like to do the same on Windows. I found this example: https://github.com/rdp/open-source-directshow-video-capture-demo-filter When I try to compile it I get this error: Severity Code Description Project File Line Suppression State Error (active) cannot open source file "streams.h" vcam_vs_2010 c:\Users\seniordev\Desktop\open-source-directshow-video-capture-demo-filter-master\open-source

Display new window in second monitor, opencv

十年热恋 提交于 2021-01-27 04:37:54
问题 I have a opencv program in python that takes frames from a webcam and displays the feed. When 'p' is pushed, it grabbes just the face and display this one frame in another window. I would like to force this new window on to my second monitor while the camera feed is on the other one - the "main" monitor. Now it just displays on top of the feed. I have been looking and searching but can't find anything else than moveWindow. How can I use this or another function to do this? Hope someone can

Display new window in second monitor, opencv

蹲街弑〆低调 提交于 2021-01-27 04:37:52
问题 I have a opencv program in python that takes frames from a webcam and displays the feed. When 'p' is pushed, it grabbes just the face and display this one frame in another window. I would like to force this new window on to my second monitor while the camera feed is on the other one - the "main" monitor. Now it just displays on top of the feed. I have been looking and searching but can't find anything else than moveWindow. How can I use this or another function to do this? Hope someone can