Questions tagged [webcam]

A webcam is a video camera that feeds its images in real time to a computer or computer network, often via USB, ethernet, or Wi-Fi.

Webcam is a video camera that inputs to a computer connected to the Internet, so that its images can be viewed by Internet users.

Their most popular use is the establishment of video links, permitting computers to act as videophones or videoconference stations. This common use as a video camera for the World Wide Web gave the webcam its name. Other popular uses include security surveillance and computer vision and there are also uses on sites like video broadcasting services and for recording social videos .

Webcams are known for their low manufacturing cost and flexibility, making them the lowest cost form of videotelephony. They have also become a source of security and privacy issues, as some built-in webcams can be remotely activated via spyware.

Types & Features

There are various types. Some are plugged into computers through USB ports, but others are wireless.

A Webcam may include following features:

  • An integral microphone
  • The ability to pan and tilt
  • In-built sensors that can detect movement and start recording
  • An LED that, when on, will let you know that the camera is in use.

Tag usage

The tag can be used for programming related problems of a webcam devices, such as designing and programming of an user interface for a webcam. Questions with tag should be related to programming only, Please avoid suggest-me-a-good-webcam type questions on stackoverflow.

Read more

2834 questions
112
votes
12 answers

How to run html file on localhost?

I have an HTML file and I run it on localhost. But, this file includes a mirror using a webcam. For example, how can I run this HTML file on localhost? Webcam starts in this example when checking to live checkbox.
Volkan Şahin
  • 1,181
  • 2
  • 10
  • 15
89
votes
2 answers

How do I access my webcam in Python?

I would like to access my webcam from Python. I tried using the VideoCapture extension (tutorial), but that didn't work very well for me, I had to work around some problems such as it's a bit slow with resolutions >320x230, and sometimes it returns…
Rodrigo
  • 5,938
  • 6
  • 31
  • 39
86
votes
16 answers

Capturing image from webcam in java?

How can I continuously capture images from a webcam? I want to experiment with object recognition (by maybe using java media framework). I was thinking of creating two threads one thread: Node 1: capture live image Node 2: save image as…
Divide By Zero
  • 861
  • 1
  • 7
  • 3
62
votes
1 answer

Best way to access web camera in Java

I need to access web camera using Java. This is what I want to do Access web cam Now the user can see web cam working because his face is visible on screen (have heard some libs are there which doesn't show the video output of webcam) when user…
PeakGen
  • 21,894
  • 86
  • 261
  • 463
59
votes
6 answers

Displaying a webcam feed using OpenCV and Python

I have been trying to create a simple program with Python which uses OpenCV to get a video feed from my webcam and display it on the screen. I know I am partly there because the window is created and the light on my webcam flicks on, but it just…
Mitch
  • 613
  • 2
  • 7
  • 5
57
votes
6 answers

How can I stream webcam video with C#?

I want to make a simple server application where people can connect using a browser-based client (which I will make later) to watch streaming video. And I want to use C#. What do I need to capture video or rapid images through a webcam and send them…
The.Anti.9
  • 43,474
  • 48
  • 123
  • 161
52
votes
15 answers

Increasing camera capture resolution in OpenCV

In my C/C++ program, I'm using OpenCV to capture images from my webcam. The camera (Logitech QuickCam IM) can capture at resolutions 320x240, 640x480 and 1280x960. But, for some strange reason, OpenCV gives me images of resolution 320x240 only.…
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292
50
votes
7 answers

Capturing a single image from my webcam in Java or Python

I want to capture a single image from my webcam and save it to disk. I want to do this in Java or Python (preferably Java). I want something that will work on both 64-bit Win7 and 32-bit Linux. EDIT: I use Python 3.x, not 2.x Because everywhere…
Matthew G
  • 1,090
  • 2
  • 14
  • 23
46
votes
7 answers

What's the status of the HTML 5

Even though it seems to be in some kind of jeopardy, the open video standard is a great idea. I saw some demos on motion tracking with it - just proofs-of-concept, but interesting nonetheless. Now, I'd say that concepts like these would really be a…
JorenB
  • 1,831
  • 2
  • 16
  • 27
43
votes
1 answer

Take picture from webcam using linux command line (bash)

I am well aware that there is "exactly" the same question already asked, but it seems the user that posted the question initially never took an interest in the question, and the answers all were for windows systems. I want to take a picture with…
Stoppal
  • 683
  • 1
  • 5
  • 15
37
votes
3 answers

How to create virtual webcam in Windows 10?

I would like to take video from a webcam, render some text on the frames and do some motion tracking and pass it on to a virtual webcam so it can be streamed easily. I found some answers on stackoverflow suggesting that I should use DirectShow.…
Lukáš Neoproud
  • 872
  • 3
  • 10
  • 20
35
votes
4 answers

How to get a list of video capture devices (web cameras) on linux ( ubuntu )? (C/C++)

So all I need is simple - a list of currently avaliable video capture devices (web cameras). I need it in simple C or C++ console app. By list I mean something like such console output: 1) Asus Web Camera 2) Sony Web Camera So It seems simple but I…
Rella
  • 65,003
  • 109
  • 363
  • 636
33
votes
7 answers

Python OpenCV access webcam maximum resolution

I am trying to acquire images from my webcam using a python code that imports OpenCV. The code is the following: import sys sys.path.append("C:\\opencv\\build\\python\\2.7") import cv2 import cv2.cv as cv import time # Set resolution cap =…
Ste
  • 339
  • 1
  • 3
  • 3
29
votes
3 answers

Sending camera video from browser to server

Im trying out the new and exciting features of chrome canary 19. I can basically grab the video from the web-cam and set it to a source element for a video tag. Camera capture