Click here to Skip to main content
15,900,108 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 Updated

Webcam 

18 Jan 2011 by #realJSOP
Didn't the web cam come with software that does the capture/upload part for you?
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...
8 Dec 2014 by _Maxxx_
Are you saying that you would have an object which you decide to describe as being one unit, then use it to calibrate each camera?If so, easy! Measure the shape in pixels - and for that camera, that number of pixels = 1 unit.From then on, you know that on webcam a, X pixels = 1 unit, and on...
9 Feb 2015 by A.Castillo
You can try this, too: check the homepage of Ozeki Camera SDK . Here you can find solution to record the video of your camera. And after you made it you can upload to the server, it support ASP.NET.
20 Feb 2015 by A.Castillo
Hi all,I have a Microsoft USB webcam and I want to record the video/audio stream. I found a very useful C# web camera software but I don’t get any audio from the camera’s microphone. Here is the code I am trying to employ:connector.Connect(_camera, _mpeg4Recorder.AudioRecorder); //This...
26 Feb 2015 by A.Castillo
Thanks for the answers, in the meantime I could figure it out myself. I made a mistak in the code.connector.Connect(_microphone,_mpeg4Recorder.AudioRecorder);This is the right one, first i tried to connect the camera to the _mpeg4Recorder.AudioRecorder instead of the microphone. My bad,...
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
19 Jan 2013 by Abhishek Sha
Can anyone please give me a gist of how should one develop a browser plugin or a Windows 8 app that recognizes hand gestures from the in built web camera?The tools, the apis, the platform, some rough idea of how I should proceed would be very helpful. Something, like when I wave my hand...
19 Jan 2021 by Agarwal1984
Hello,I want to develop application for qrcode crate and qr code scanner using webcam.I am using this code for create QRCode:-protected void BtnQRCodeCreate_Click(object sender, EventArgs e) { QRCodeEncoder encoder = new QRCodeEncoder(); Bitmap img =...
26 Oct 2011 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
5 Nov 2017 by Alexander Iacobciuc
In this article you will find yet another implementation of a web camera control.
25 Feb 2015 by alwilgus
I really like the articles on vision processing using a web camera. But most of them are old. (I'm still using VS2012). But what should I take the time to learn? AForge.Net looks good, but I don't see any 'Step by Step' tutorials or 'How to ...' books out there for specific code. What do...
26 Jul 2013 by Amanpreet Mukker
Look into Expression Studio by Microsoft. Here is an article on CodeProject: WPF: Webcam Control[^]
7 Apr 2011 by Amit Kumar Tiwari
Please try this article @ http://sites.google.com/site/webcamlibrarydotnet/winfrom-and-csharp-sample-code-and-download[^]
15 Oct 2011 by André Kraak
Have a look at this Developing a Video Chat Application with high quality video streaming[^].
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?
19 Mar 2022 by BAHA 2022
HELLO How can I select the object with the mouse using the in visual studio webcam and have the program follow the selected object? I was only able to operate the camera please help What I have tried: I was only able to operate the camera
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[^]
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?
19 Oct 2017 by Bernhard Hiller
Learn the basics of MVVM. Bind properties of some controls (View) to properties of a ViewModel. The Binding engine takes care of the correct thread. In your model, run your thread for capturing the image, raise an event to the ViewModel for every new image.
25 Feb 2020 by C-P-User-3
((((Preface, I don't know where this question belongs; moderator(s) please direct me)))) Anyway... Maintenance, Security, and Admin would love to have our entire place covered with video. "Professional Surveillance" vendors would love to...
6 Feb 2012 by Cao Huan
One day, i visit the website http://chatroulette.com/[^]It's a online chatting room, and it can control your webcam. I want to know how it could be.help me, please.
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[^]
7 May 2016 by chris47368
Hi I have been looking everywhere for some simple code that does not show any webcam picture on the program's GUI but just takes the picture and saves discreetly in the background. You may ask why I need to do this? Well it's for use in my encryption programs for random key generation as my plan...
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.
25 Aug 2013 by CPallini
You din't try Google[^] yet, did you?
6 May 2014 by CPallini
See, for instance, this Code Project article: "Dynamically Write Text On An Image"[^].
2 Sep 2014 by CPallini
I suppose your best bet is VB.NET powered by Google[^].
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[^]
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...
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:
4 Apr 2011 by Dalek Dave
This may help[^]Just name the two webcams differently, there is no problem.
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
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 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...
12 Aug 2021 by Dhiren M
I am creating a C# form app to view webcam using AForge. The preview of webcam is taken to pciturebox. I have taken picturebox so that I can resize the preview window and image is stretched. Problem is that the preview is freezed after few...
6 Nov 2012 by drhorrible
I am looking at creating a puzzle for a treasure hunting activity called geocaching. What I would like to do is have a webcam set up so that when a Rubik cube with a specific color combination on one side is held up to the webcam, the video feed from the webcam would be replaced by a set of GPS...
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..
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
24 Sep 2016 by dyooshi
Im doing an application for my school project which is when user plugged in usb drive, login for will come out asking user to login first but if user failed login for three times, webcam will automatically capture. The problem here, how can I make the webcam to automatically capture after failed...
19 Oct 2017 by EasyHero
Hi, i am capturing image with Webcam. based on the device(laptop) used, the image capture either freezes at some point or not. What i want to achieve is to ensure that the capture does not freeze. Here is the function that captures the image. it uses Direct Show Library private void...
26 Oct 2012 by emma01
Real time tracking. Actually had not much idea since I had been using Replicon's hassle free Project Time Tracking solutions http://www.replicon.com/time-tracking-softwares.aspx[^]
4 Apr 2011 by eshaq
How Display two or more webcams in one form via C#?
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...
13 Apr 2016 by fig000
Hi, I've been looking for a way to use a web cam (logitech ar orbit:v-uu22a) to read a barcode (of various kinds) from inside vb.net code. I have found two products (katahashi and bcweb) that will work with a web came but they run from their own guis. Is there some software that will read...
14 Apr 2016 by fig000
Sergey, Thanks for responding. I will say that your response was a bit confusing. Firstly, cameras are not totally unrelated to barcodes except in the abstract. If you'll look at some of the list of posts you asked me to look at you'll see at least two sdks that do what I asked about:...
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...
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.
10 Sep 2014 by George Jonsson
This is sometimes caused by using the wrong calling convention in the pinvoke declaration.You don't show the declarations of your pinvoke methods, so this is a guess.As I am not very good at VB I am not sure how this is declared in this language.In c# you write like...
10 Sep 2016 by ghasem110deh
hi guy'si use Aforge lib in my project for capture image and record live video from webCam ...but when use ffmpeg.dll to save AVI file from webCam send this Error :private VideoFileWriter FileWriter = new VideoFileWriter(); FileWriter.Open("test.avi", 460, 500, 25,...
15 Apr 2015 by gribson
This source code can be used to send the image of your webcam to remote locations. I can help if you look for a solution like this: the server will be the PC that the webcam is connected to, and the remote computers will be the clients. namespace Onvif_IP_Camera_Server_04{ public...
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
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/[^]
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...
1 Sep 2012 by Indranil Pal
Is it possible to make the webcam of a pc acting as an ambient light sensor? I am using .Net 4.5 framework in Windows 8 pro.
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...
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...
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...
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...
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[^]
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...
31 Mar 2013 by JPais
Hi everyone.I am working on a project where user data is stored in sql db along with its image which is captured using a webcam.I have finished the part where image is captured successfully and stored in picturebox, but the image from picturebox doesn't pass into the sql table, this part...
27 Apr 2013 by JPais
Hi Everyone,I am working on a project where there are 2 forms with webcam programs.The webcam is used just to preview a scene on a picturebox.The problem is Suppose form1 and form2 are used to implement webcam features. when I run form1 it works perfectly well..but when I switch to...
21 Apr 2022 by Kaushik Vezzu
As a part of my project involving conversion of sign language to english , I developed .tflite model and did predictions successfully using opencv. Now i want to implement web application for this . On the web page , there will be live streaming...
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 ;)
19 Feb 2014 by Khageswar Rao
When i insert image into sqldatabase using store procedure it gives an error at "PictureBox1.BackgroundImage.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg)" error is >Object reference not set to an instance of an object.
5 Apr 2011 by Kiraichi
me and my team working on a project called Stealth Hunter,Summarize about our project.Stealth Hunter is a thief catcher, It will silently take a snapshot of user using a stolen notebook or pc with webcam and send the information via email.so, the problem is, the scripts wont trigger...
12 Apr 2011 by Kiraichi
any takers? =( =( =( =( =( =( =( =( =( =( =( =( =( =( =( =(
21 Oct 2012 by kouzmarobbins
Hello, I am a beginner at programming and am currently doing a project that requires camera surveillance. I want to know the basics of programming a simple webcam- like the one on a standard laptop. Please forgive the lack of technical terms, I really am out of my depth here! Can anyone...
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...
19 Dec 2014 by Kunjammu
Hi, In my wpf application i want t use my webcamera for taking photos. i used webcamcontrol and expression encoder for this. its perfectly working in my system, its windows7 32 biti want to work this in othertab IBALL 32 bit os. if i run the same application in this tab, then "Exception...
27 Sep 2014 by LLLLGGGG
https://www.google.it/search?q...
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...
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...
16 Aug 2021 by Luc Pattyn
Images need to be disposed of when no longer in use, so try replacing pictureBox1.Image = video; by Image prevImage=pictureBox1.Image; pictureBox1.Image = video; if (prevImage!=null) prevImage.Dispose(); :)
31 Aug 2021 by Maciej Los
Please, read my comment to the question first. If you would like to exchange data between form "on the fly", i'd suggest to read OriginalGriff's excellent articles/tips: Transferring information between two forms, Part 1: Parent to Child[^]...
8 Feb 2019 by MadMyche
Are you referring to this article? Reading Barcodes from an Image - III[^] Then the best thing to do would be to use the forum at the bottom to leave a message
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.
2 Jun 2012 by magic.on
VLC steams with RTSP, check some sites on google "stream webcam vlc"
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
20 Aug 2014 by magic.on
Hello, I've successfully streamed my webcam to my android phone using libraries in nVLC on this site.Problem is that i could only have stream it inside my own network (under wifi).Best regards,Gabriel
15 Mar 2013 by mahaveer singh ratnoo
can some one please tell me that how to integrate a webcam in asp.net web page using flash plugin's or whatever else. Actually i have to make a page on which a user can virtually try goggles and watches in front of webcam.
20 Feb 2015 by manak chand
Try below mentioned links.. these might be helpfull...CodeProject - Sending and playing microphone audio over network[^]CodeMiles - Sending and playing microphone audio over network[^]
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++?
17 Jul 2015 by MarioAda
I've been working on a Webcam video recorder and I got interested in trying everything when it comes to this topic but there's this problem that I can't solve.Everything that you might wonder about can be found here...
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...
26 Oct 2012 by Maxim Kartavenkov
Hello,DirectShow Virtual Video Capture Source Filter in C#[^]Regards,Maxim.
25 Mar 2015 by mechatronic11
Hiİ want to send webcam video from server to client in c# windons application .In server , ı take video from webcam and then i send to client. so i can watch server's webcam . How can do that ? Please help me.
4 Mar 2013 by meenakshi syal
provide me with the source code if available to create a application where web cam can automatically keep on capturing the images at given intervals and save them in a file with date and time in c# window application
4 Jul 2013 by Member 10122849
How can I record a video from a webcam and save it to disk using VB.net?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...
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.
20 Nov 2014 by Member 10371642
I want to use webcam in my application offline . but in jquery there is every where use getusermedia() i want to use webcam without it.if it is possible please give jquery code thanks for advance.
8 Dec 2014 by Member 10450635
I need to calculate distance between two points using a webcam. Now the catch is I don't need it to be any way related to actual measurements in cm or whatever. What I want is to use different webcams of different resolutions and they should all give the same measurement. I'll...
7 May 2014 by Member 10453455
I learning to development a webcam application using C instead of C++. I know there are example of DirectShow and MediaFoundation around but it works in only C++.I also tried using VFW but I can only get it to work properly in window xp. When I try running it on windows 7, it seems to be...
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.