Click here to Skip to main content
15,888,816 members
Everything / Webcam

Webcam

webcam

Great Reads

by Alessandro Del Sole
This article explains how to acquire images from scanners and Webcams and how to store them to a LightSwitch application's database
by Meshack Musundi
A WPF control for displaying and recording video from a webcam
by Sergio Andrés Gutiérrez Rojas
Face detection and recognition with support of multiples faces in the same scene and other interesting features using C# and EmguCV
by Alexander Iacobciuc
In this article you will find yet another implementation of a web camera control.

Latest Articles

by Sergio Andrés Gutiérrez Rojas
Face detection and recognition with support of multiples faces in the same scene and other interesting features using C# and EmguCV
by Alexander Iacobciuc
In this article you will find yet another implementation of a web camera control.
by Meshack Musundi
A WPF control for displaying and recording video from a webcam
by Alessandro Del Sole
This article explains how to acquire images from scanners and Webcams and how to store them to a LightSwitch application's database

All Articles

Sort by Score

Webcam 

18 Jan 2011 by Dalek Dave
I am attempting a project that will put a webcam feed onto a web page.I have created the viewer with I have refreshed and cache controlled with:
18 Jan 2011 by thatraja
I have searched for this in web.Taking a WebCam Photo with Silverlight[^]EdgeCam Shots - Saving Silverlight 4 Webcam Snapshots to JPEG[^]Dynamic Webcam Image[^]Capture and save images from Web camera[^]IdeasHow to put a Live Streaming Video Webcam on your...
5 Jul 2011 by Christian Graus
der is not an english word. PHP runs on the server and can perhaps check on the server end. HTML, which PHP generates, cannot interact with a webcam.
5 May 2014 by OriginalGriff
10 milliseconds is pretty good, in Windows terms - it isn't a real-time operating system, and there is no guarantee that even on the same thread one instruction will be executed immediately before the next: it depends on the system load and can be any time interval at all. Windows is a...
18 Jan 2011 by Sergey Alexandrovich Kryukov
Dalek, my first idea was using VLC which I knew was a streaming software, but I was not sure it would accept camera input. I used VLC for different purposes like downloading/conversion in tricky situations, not streaming. Important thing: this is Open Source.See also...
19 Jan 2013 by Sergey Alexandrovich Kryukov
Please see my comment to the question. It looks like you think this is pretty easy. Think again.Please look at this CodeProject article: Hands Gesture Recognition[^].—SA
5 May 2014 by Dave Kreskowiak
On top of OriginalGriff's response, which is dead on accurate, I don't think you're going to get away with using a couple of USB webcams to do this. Since you can't get data simultaneously from two devices on the same USB controller at the exact same time (refer to what USB stands for:...
25 Feb 2015 by Sergey Alexandrovich Kryukov
AForge.NET, will strongly recommend it. Step-by-step tutorials? They can be helpful, but how badly do you need them? If you really cannot leave without them, you probably should not go in for such a difficult topic as computer vision. I consider this factor negligible. More important some...
18 Jul 2015 by Frankie-C
A bitmap file have one header more respect the memory bitmap: The BITMAPFILEHEADER[^].Take a look to docs, and add it at very beginning of the file ;).For more info just googling you can find many examples on the net.
25 Feb 2020 by Dave Kreskowiak
The major cost isn't going to be the webcams. It's going to be the infrastructure to connect them all and manage/store all the video for as long as Security wants it. As for which one is going to be the best for you, you're going to have to buy...
18 Jan 2011 by #realJSOP
Didn't the web cam come with software that does the capture/upload part for you?
18 Jan 2011 by Nish Nishant
Just to summarize the discussion, here're the steps needed:(1) Periodically capture images form the connected webcam(2) Upload captures images to a website via FTPOne company that has software that automates this is:http://www.tincam.com/[^]It's cheap, and currently costs...
4 Apr 2011 by Orcun Iyigun
Your best option to do that is using DirectShow[^]Sample for capturing video:Link[^]
20 Jul 2011 by Richard MacCutchan
Some samples to help you can be found here[^].
20 Jul 2011 by OriginalGriff
If you mean "Take a picture of a face in VB" then that is easy - look at Google for "Use Webcam" and you will find loads of info.If you mean "Recognise a face against a picture" then that is a LOT more complicated. Start here: Face Detection in C#[^] and be prepared for a lot of work...
15 Oct 2011 by André Kraak
Have a look at this Developing a Video Chat Application with high quality video streaming[^].
6 Jun 2012 by magic.on
It can be done, I've succeded but using vlc not programs, and on the phone side with the media player used in api demosThe speed is quite low even in wifi but I realy don't care, just want to use video not pictures
24 Jul 2012 by Sergey Alexandrovich Kryukov
Here is my feedback:Hard-coded immediate constants like 8, 1024, 1402, 100 are quite bad. How would you maintain such code? And the solution is so simple: declare them as explicit constants. This way, you can easily reuse them, modify consistently and move all or some of them to data files,...
28 Mar 2013 by Sergey Alexandrovich Kryukov
Please see: http://www.codeproject.com/search.aspx?doctypeid=1&q=%28Webcam+OR+%22Web+camera%22+OR+%22USB+Camera%22%29+%22.NET%22[^].You will find some decent solutions.—SA
4 Jul 2013 by Nirav Prabtani
See this link...:)How can I record video using webcam in visual basic .net?[^]
10 Dec 2013 by Xiao Ling
This article webcam capture[^] is really useful to me. Not sure whether you have read it before.
11 Dec 2013 by Member 10459394
in my windows form , i have a picture box in that picture box i want to insert a image that i am capturing with my webcam...and after that i want to save that image in database.
11 Dec 2013 by Snehasish_Nandy
looking-for-code-to-capture-image-in-C-Sharp-save-by-webcam.aspx[^]
23 May 2014 by seliya hilal
public static System.Drawing.Image Resize(System.Drawing.Image image, int width, int height, RotateFlipType rotateFlipType) { // clone the Image instance, since we don't want to resize the original Image instance //var rotatedImage = image.Clone() as...
13 Jun 2014 by Sergey Alexandrovich Kryukov
You are not getting it. "Color specification" it totally irrelevant to it. You images are really different: motion, lighting, noise, and so on. One second is huge time to make images very difficult on a pixel level. Even nearest frames (no matter what your frame rate is) will be very different...
2 Sep 2014 by CPallini
I suppose your best bet is VB.NET powered by Google[^].
2 Sep 2014 by Sergey Alexandrovich Kryukov
Forthis wrote:Its a choice to learn and I choose to learn more because i don't like people looking down on me to prove myself and to them i could do better. But anyway Sir thank you for your time dropping by though i still don't want to give up the idea of vb6, I will study vb.net for the mean...
7 Feb 2015 by Zoltán Zörgő
This is the way: http://www.html5rocks.com/en/tutorials/getusermedia/intro/[^]. But as not all have HTML5 browser, you still need some fallback, so check this too: https://github.com/jhuckaby/webcamjs[^]
6 May 2015 by Sergey Alexandrovich Kryukov
First part of my answer may come at surprise, because it's not even discussed in the Open CV documentation: strict background subtraction, even based on referenced background image (called background model), is theoretically impossible. This is because even two images provides incomplete...
10 Sep 2016 by Richard MacCutchan
See VideoFileReader Class[^] for instructions on installation and usage.
25 Feb 2020 by Kris Lantz
I spent some time in my previous job installing and playing with professional HikVision systems, so here are some thoughts. -Do you need night vision? If so, what kind of range? -Is each camera location shielded from weather? -What are power...
20 Jan 2011 by Chris Quinn
There was a PowerToy for WindowsXP called Timershot that would capture a webcam picture at a set interval and upload it to a website - I don't know what OS you are using but it may be worth a lookhttp://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx[^]
18 Feb 2011 by Mostafa Elsadany
hi every one i biuld web application to live show from camera to my web as this site for bbc http://www.bbc.co.uk/arabic/tvandradio/2011/01/000000_livetv.shtmlhow i can show from camera to my web application thanks for any help
18 Feb 2011 by thatraja
Here you goCamera Vision - video surveillance on C#[^]Also I have answered DD's question on last month. Hope it will help you so take a look at this..Web Cam Image on Web Page[^]BTW view other answers in that page too.
12 Mar 2011 by Henry Minute
I am not sure, from your question, if you are having problems in capturing the video, or just in displaying it.If the problem is the display then there are two classes that may help you. MediaElement example :-A simple WPF media player with media item list[^] and MediaPlayer MSDN...
17 Mar 2011 by Richard MacCutchan
Look at all these helpful articles[^].
21 Mar 2011 by sardar.nale
Can i capture video through website application
26 Mar 2011 by vishnulalr
private void openMJEPGFileItem_Click( object sender, System.EventArgs e ) { URLForm form = new URLForm( ); form.Description = "Enter URL of an MJPEG video stream:"; form.URLs = new...
4 Apr 2011 by Sergey Alexandrovich Kryukov
Exactly the same way as one. Why it can be a problem?—SA
7 Apr 2011 by Jamesdf
Hi All,Basically I need to insert a webcam into a mainform without it upsetting the code I have originally put in it(It's in VB).More Detail:My mainform has a textbox which displays realtime readings from a usb loadcell. I have found solutions for webcams online but my problem is i...
7 Apr 2011 by Amit Kumar Tiwari
Please try this article @ http://sites.google.com/site/webcamlibrarydotnet/winfrom-and-csharp-sample-code-and-download[^]
12 Apr 2011 by Jamesdf
Not a solution, but I am now opening the webcam as an external program from my main form.Basically I published and installed the webcam program and call it using a button with the following code:Private Sub cbActivateCamera_CheckedChanged(ByVal sender As System.Object, ByVal e As...
14 Apr 2011 by weylspinor
Hey guys!I'm 2 weeks into learning about WPF. I have three questions that would help me streamline my research:1. If I want to create many random shapes with random colors (which I assume must be done with procedural code, not XAML), what is the best class to use? I have been playing...
5 Jul 2011 by harish85
You cant really check such things in html pages, if you are certain that this would be run on IE use custom ActiveX controls to do such things.Jquery plugin API Check this link-http://www.xarg.org/project/jquery-webcam-plugin/[^]
21 Jul 2011 by saschanv
Hello, First of all, I am a "noob" in programming so just to clear things out from the start, I don't have an enormous programming experience.I can program pretty basic stuff on VB but I am willing to start a new project which requires Webcam access and can record a video from it in a...
21 Jul 2011 by S Houghtelin
You can start here and then proceed through the next few pages to build an application similar to what you are asking for.http://www.visiblevisual.com/index.php/General-VB-.NET/list-of-webcams.html[^]This would also be a good candidate for a google search using search parameters such as...
17 Oct 2011 by Jackie0100
Hi every onethanks for all yours help in the past but yet again i need some help.as i've before have posted about here am i making a IM-chat server and chat client and i now want to add webcam/video/voice chat to my application now.i've already found a way to add webcam capture by...
12 Nov 2011 by vikky08
I am using Ubuntu 10.10.how can I turn on web cam? Actually I do not know cam driver install or not?how can i install?please give the command for it.
12 Nov 2011 by thatraja
Check thisWebcam - Community Ubuntu Documentation[^]
17 Nov 2011 by dustyfoot
i need to integrate a webcam in my wpf application to take pictures as well, i looked at the various libraries available on the .net platform like wpfmediakit, webcamcapture etc. but none seems to go well with my project, and yes compatibility with older XP systems should also be looked at..
17 Nov 2011 by Mark Salsbery
I haven't used any third party libraries but instead always used built in Windows APIs. I've used Video for Windows (VFW)[^] in the past and currently use DirectShow[^]. For Vista and later (although it originally came out in XP) there's also Windows Image Acquisition (WIA)[^].Do a search...
20 Nov 2011 by dustyfoot
how do i use the WPFMediakit in WPF to capture images from webcam, till now i have been able to read the webcam but i need to capture images through the device also....WPFMediakit is available in codeplex. any help will be appreciated
9 Jan 2012 by A_CAN
Hello,I know that it is possible, because when I set this flag in the program that came with my Dell WebCam, the video in my own EE sample is mirrored as well.However I would like to set this option from my code.Thanks,A_CAN
10 Jan 2012 by ashutoshdtu
How to capture an image from a webcam using pure c without using any libraries like OpenCV?I have done this using OpenCV and Matlab but i want to learn to do it in pure c?
10 Jan 2012 by Mikael Segerstein
Try using the capCaptureSingleFrame macro.MSDNGoogle
5 Feb 2012 by dartfrog
Hi All, I am newbie of webcam project. i am developing frame capturing app using "avicap32.dll" but when i start the connection with webcam, there is "video source" pop up box. how can i disable it ? pls instruct me Best Rgds,df
21 Feb 2012 by CRDave1988
See This:Inserting and Retrieving Image using LINQ to SQL from ASP.Net Application[^]Storing and Retrieving Images from SQL Server using Microsoft .NET[^]
21 Feb 2012 by jasonterry1
you can convert your image to base64 string and then store it.http://www.dailycoding.com/Posts/convert_image_to_base64_string_and_base64_string_to_image.aspx[^]
17 Mar 2012 by Member 8737631
Hi guys, i wonder how to make my programm work in mode without debugging(Ctrl+F5). When i start my programm that captures video and audio to asf file from web-cam in debug (F5) it works good i can see a video in small window and everything is good. But when i start it in Ctrl+F5 it still writes...
29 Mar 2012 by waterduck
Hello thereI'm looking for a solution for streaming my webcam over rtsp and transcodingI tried VLC for this but it doesnt support the TCP transport, only UDPThen I tried FFmpeg. It transcodes well but fails to stream webcamSo now I'm looking for RTSP server which supports TCP transport...
4 May 2012 by magic.on
Can you stream you webcam live for an ANDROID application?Question asked because phones have bandwidth smaller than PCs.
13 May 2012 by Jackie00100
Hi if you're looking for places as a programmier look at this: [^] i used that for my own IM-Chat for Call and video chat.if you're looking for softwares this isn't really a forum to ask in, but why not use skype, or if you need something controlled then ventrilo or teamspeak? i know all of...
27 May 2012 by Member 7954937
Hi,I'm working on a project which requires continues access to web cam.Can anybody tell me the code to access the web cam via java code.Thank you.
2 Jun 2012 by magic.on
VLC steams with RTSP, check some sites on google "stream webcam vlc"
24 Jul 2012 by Scalee
Hi Coders,This is my first socket code and i hoping for some feedback/improvements!I myself think allot of frames go to waste because of incorrect length (i see percentages above 100%), i think the wrong 8 bytes are read. But i don't know how else to mark the start/end without adding...
1 Sep 2012 by Kenneth Haugland
It is definitly possible if your camera has infra red range, since the burglar alarms use it, but I dont know if the Webcam goes low enough in frequency. See this[^]. I found this on Google btw, so you should definatly give that site a try first ;)
26 Oct 2012 by Member 9548682
Hi,I want to create a virtual webcam to use in Skype, Messenger,... like ManyCam. I can take the images from my webcam, but i can't make a "virtual" webcam device.How i can do??Thanks,
26 Oct 2012 by Maxim Kartavenkov
Hello,DirectShow Virtual Video Capture Source Filter in C#[^]Regards,Maxim.
16 Nov 2012 by FearfulSymmetry
I was following this tutorial thing (the WPF: Webcam Control Article) on a WPF Webcam control and did the following: I took the c# code and converted it to vb.net using a code converter and entered that as my code. However, I cannot view the designer because "value does not fall withing expected...
5 Dec 2012 by cschenlu
hello,I'm a windows programmer. I've recently met a problem on usb driver, sincerely hope I could get your reply. My usb driver doesn't work well with usb device. It's a webcam device. when I start this webcam, it always display white no matter what we show before it. I use bus hound to...
12 Dec 2012 by Gurpreet_Fusion
How to put a frame containing image on a webcam viewer so that i can capture the imagewith frame image applied on it
15 Mar 2013 by Sandeep Mewara
Here, have a look at the answer to similar question: webcam in asp.net using c#[^]
23 Nov 2017 by Member 9927463
Greetings,I am currently working on a project in which we need to stream live video off of a USB device and I was wondering, how I could go about doing it. I was able to accomplish the task using dynamic web twain(Trial Version) but I was wondering if there's another way that would be less...
19 Jun 2013 by TheMeh
Hello,I want to capture a Timelapse with my Microsoft LifeCam Studio HD.All software I've seen yet only takes Snapshots of the videostream of the camera but I would like to get full 8 MP Photos from my Camera.So I decided to search for an API oder a Library - but I could not find...
19 Jun 2013 by snorkie
Have you tried using ESCAPI[^]?Hogan
4 Jul 2013 by bbirajdar
Did you try google ? A lot of solutions available for these type of general questionsVideo File Saving in Windows Media Video Format for the DirectX.Capture Class Library[^]
5 Jul 2013 by NIshan_ Sharma04
Hi,I m working on a security project which requires customized feed from a webcam or any other imaging device. and I want a way so that I can use this feed for other applications like skype or anything which uses webcam. Something like Cam twist for Mac(but it uses videos)How can this...
20 Jul 2013 by Member 10145025
I am new to WPF,currently doing a webcam application. I need to stream the live webcam Videointo the media element. My webcam is working fine and displaying the video but how to connect to the media element. Xaml code for the webcam:
25 Jul 2013 by Member 10145135
Hi i am new to wpf and working on a video chat application.I wanted to display the webcam video on the right-down corner of the media element when (on click) switched to full screen.Please guys help me out..Thanks in advance.
25 Jul 2013 by Member 10122849
i want to record and save a video from the webcam..i can see the video preview but i am not able to save it.i am new to visual basic..and i dont know how to use directshow ..so i am using the vfw api.The code i have used is... Private Sub Button3_Click(ByVal sender As System.Object, ByVal...
26 Jul 2013 by Amanpreet Mukker
Look into Expression Studio by Microsoft. Here is an article on CodeProject: WPF: Webcam Control[^]
25 Aug 2013 by CPallini
You din't try Google[^] yet, did you?
29 Aug 2013 by Rachel Jia
Check out this article and see if it meets your needs.Scan Barcode from a Webcam in a WinForm/WPF Application[^]
25 Sep 2013 by RAHUL(10217975)
HelloI am developing a WPF Application. I am using Webcam (using Touchlesslibrary.dll reference) and WPF crystalreportviewer. Intially I kept my project platform target x86 it was working fine but now as I want to use Crystalreportviewer it doesn't support x86 it supports platform target...
19 Oct 2013 by thatraja
Check theseSAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads[^]DOWNLOAD SAP CRYSTAL REPORTS, DEVELOPER VERSION FOR MICROSOFT VISUAL STUDIO[^]
10 Dec 2013 by Sicppy
I want to know how to implement the use of a webcam into a C# application without having to download any additional libraries, I have found a few copy paste webcam examples, but none that clearly explain whats going on. I would like to know the code works so I can write my own code for...
11 Dec 2013 by TrushnaK
Refer Below Links you get what you want exactly:-http://www.planet-source-code.com/vb/scripts/showcode.asp?lngWId=10&txtCodeId=1339[^]WPF: Webcam Control[^]http://easywebcam.codeplex.com/SourceControl/latest#EasyWebCam/WinFormCharpWebCam/Form1.cs[^]for downloading...
23 Mar 2014 by Xiao Ling
You can use JSON to save all settings. Here is the JSON.net[^]
24 Mar 2014 by Saahyl
package us.sosia.video.stream.agent;import java.awt.Dimension;import java.net.InetSocketAddress;import com.github.sarxos.webcam.Webcam;public class StreamServer { /** * @author kerr */ public static void main(String[] args) { Webcam.setAutoOpenMode(true); Webcam...
21 Apr 2014 by 123456789igor
So, i try to save image on disk from web camera using AForge. But the image takes a lot of size on disk and amount of images is high. I want to descrease the size of images and descrease the amount of images per second(minute). But i don't know how to do thisMain code:public void...
5 May 2014 by lolaparra80
Hello:I have the next problem. I have 2 winform, the first winform control a motor with a camera where both are syncronized to take several images with a concrete number of frames per seconds. This project is very special and delicate because I need a sequence of images with the same time...
6 May 2014 by Saim Ullah
hi,i have searched alot but unable to find that how to put timestamp on picutrebox....i hv a program in in which a picturebox is streaming from webcam... when i captured a photo it saves in bin folder with the name of current date and time....but i want a time stamp on the image thus...
6 May 2014 by CPallini
See, for instance, this Code Project article: "Dynamically Write Text On An Image"[^].
14 May 2014 by lolaparra80
That is extrange. I have tried to program into the same winform, only with a one form, and actually is working, but when I try to join with my actual project, where I use Usercontrols, don't work.Maybe there is something that I can't see, I don't know exactly where is my problem.I will...
18 May 2014 by Manikandan10
This page describes how to create a webcam using C++ and MFC but you have mentioned you have to avoid C++. Are there any reasons why you have to program in C but not C++?
2 Sep 2014 by Forthis
Good Day Sir/MamBefore i start yes I'm using a very old programming language and i lack knowledge in many fields in programming that's why I'm here to start learning and start asking before i choose a path to take.Now with the question is it possible to make QR Login via webcam using...
10 Sep 2014 by JoshuaDsouza19
I am getting an error from yesterday. The error is (PInvokeStackImbalance was detectedMessage: A call to PInvoke function 'WebCam ScreenShot!WebCam_ScreenShot.Form1::SendMessage' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target...
10 Sep 2014 by Bernhard Hiller
Quote:... likely because the managed PInvoke signature does not match the unmanaged target signature ...Check that the datatype of hHwnd is correct - it must be an IntPtr. Also iDevice mut be an IntPtr.And did you define WM_CAP_DRIVER_CONNECT as UInteger?