VS 2010 Useing Webcam To Detect Motion
Nov 10, 2009I am new in VB.NET. I want to use VB.NET to develop a program that will use a webcam to detect motion and trigger an alarm form PC.
View 9 RepliesI am new in VB.NET. I want to use VB.NET to develop a program that will use a webcam to detect motion and trigger an alarm form PC.
View 9 Repliesim creating a program which detects motion according to how much difference does the two images have. take note images come from a live webcam stream. the problem is how to compare the two images.
description of the program
a sensitivity text box will be placed on the program where it will compare with the computed difference of the two images. i have a program in vb6.0 that compares images like this
Private Sub Timer1_Timer()
'getting picture from camera
SendMessage mCapHwnd, GET_FRAME, 0, 0[code].....
now i cant translate this in vb.net i have included what i have now
i am developing a system will be able to detect motion. up to now i am able to stream the video that is connected to my PC to VB.NET. Now i want to switch between the webcam if there is more than one webcam connected to the system. For example, the user of the system will be able to chose any webcam that is connected to the system. I am able to detect all the webcam and display those devices into a ListView. But i don't know how to change the steaming video when the user select the device. Now the video screen show the image form the default webcam.
View 1 Repliescan somebody tell me the codes that a webcam can detect a human.
View 4 RepliesHow can I programmatically detect whether a webcam device is plugged in to the PC or not, return 'True' or 'False.
View 1 RepliesI want to make an application that will have you webcam running and it will detect how bright the room is then set the screen brightness accordingly - I need both the screen adjust and webcam part.
View 3 RepliesI'm trying to make a way to navigate around a custom grid. Basically, I'm implementing the drag-copy feature from Excel. Right now, you click on a cell grid and can drag around the grid. Anything in the drag area gets a green tint. Once you release the mouse button, whatever was in the first cell selected is copied to all the others that are tinted. That works pretty nicely, but it works only for the cells visible on the screen. I can live with that, but decided that if you dragged over the scroll bars or the column or row headers,then the grid should scroll (if there is anywhere to scroll).
That's where the problem arose. It turns out that scrollbars don't raise the MouseMove event (at least not as far as I can see), and the MouseEnter and MouseHover events are not fired as long as the mouse button is held. Interestingly, the MouseLeave event does occur when the mouse button is held, just as the MouseMove event is occuring for all the cells. That's pretty annoying. Why do some mouse events get raised when the mouse button is down while the others don't? Also, I suppose, is there any way around this?
Can I use a none .NET executable or library as a reference in my .NET project?
View 12 RepliesDoes anyone know how to do it? Or can give me some Tutorials?
View 5 RepliesI have a logitech webcam that I use to take pictures of customers to submit to a server/database. Utilizing AVICAP32.DLL calls, I was able to modify my VB.NET program to take these pictures via a button in my program.
My question is, it would me more convenient to my intended users to click the webcam button, instead of clicking on the button in my program.
Is this possible to do in VB.NET? and how can I do this?
If this is not possible to do with my logitech webcam than is there a Microsoft Webcam that can do this?
Alright so I want to create a form, where the text in the textboxs will be sent to my database, after the user hits sumbit. The problem I am facing is i am used to using a detailsview or formview to do this for me, but how can I do this myself, where I manuelly update my database.
View 1 RepliesThere's lots of code samples around to get a list of webcams (or other video capture devices) in VB.NET:
Declare Function capGetDriverDescriptionA Lib "avicap32.dll" (ByVal wDriver As Short, ByVal lpszName As String, ByVal cbName As Integer, ByVal lpszVer As String, ByVal cbVer As Integer) As Boolean
[Code]....
I have two webcams installed on my PC but I only get one entry: "Microsoft WDM Image Capture (Win32)".
If I run Skype > Tools > Options > Video Settings I see "Logitech HD Webcam C270" and "Microsoft LifeCam VX-2000". I can click on each camera and it's output is correctly shown in the preview window.
how to get this full description of each camera device? Having done that, I will need to be able to select that device as the source for my image grabbing routine. Perhaps each entry can provide a GUID?
webcam drivers were installed using its cd drivers.[code]after skipping the errors in compile (f5) the program works, how to cancel the errors? moreover, when the program is run via the .exe file in the bin folder no errors fire up
View 3 Replieshow to capture and save still image through webcam in vb 2010
View 4 RepliesI have written a program that uses directshowlib to capture a stream from a webcam and save as an AVI whenever a bird lands on the experiment platform for behavioral research. What I would like is to be able to allow another program or connection to the same webcam at the same time simply for preview purposes, is this possible?
Basically I want my app to still be able to record on demand when a bird interacts but I would also like a IP cam program like webcamXP/Webcam7 to be able to stream a live feed to the internet so we can have a live view of the platform. I had found some articles about connecting multiple streams from one webcam but am not sure how to go about it. If I have to I will simply mount a 2nd cam in the Bird colony and dedicate it to the web stream but if I can use the same cam as the recording cam that would be great.
I tried to code using WIA, and it is working fine.But when I tried my codes under Win 7 OS, it failed to capture.It seems that it is only working on XP. I also tried some code sample found here. And still failed under win7.Is there any good link where I can get some info to work with regarding to web cam capture...I tried also Avicap.dll?
View 1 RepliesI am trying to copy file from server to the Current Pc useing the following code..[code]
View 4 RepliesI'm a computer science student and I have a project to do where I need to have VB connected to a webcam to take captures of items and then save them according to the item name that stores them into either a dbase or access database. I have knowledge of oledb using vb to retrieve and modify access databse so it might be better to head in that direction, but I have no clue how to get the webcam talking to vb and see the live feed from the cam until you take a picture and save.
View 1 RepliesI have to make a learning object program for a school project and i am doing it about circular motion and satellite orbits.how i can get a object to orbit around another object in visual basic, allowing the orbit radius to vary as the user inputs values?
View 2 RepliesWhat I'm trying to do is simulate projectile motion in Visual Basic using Visual Studio. Essentially, something like this but without air resistance or mass.
Anyhow, the way I'm doing it is using a PictureBox and drawing the image in (of, say, a circle) every so often with a timer of interval 1 with its x and y properties being variables calculated by the formulas.
I want to know what formulas I can use to assign to x and y so that I get a movement like the one on the example. I've tried a bunch of stuff, with help from wikipedia and other sites, but can't seem to pull it off.
i'm trying to make a checkbox which when its checked it pasues me the dispaly of the animation which i've done by application.DoEvents etc??what i'm doing wrong?
[Code]....
I have a project in WPF/VB.net 2010 that I want to create an alternate version of in Silverlight. However, it uses heavy amounts of animation, especially motion animation. Most of this animation takes advantage of storyboard double animations for either translate transforms or canvas left/top changes. Can I convert this project over to Silverlight?
View 2 RepliesHow to Display Text in slow Motion.
View 16 Repliesmy advance project for the final semester of software engineering is an intruder detection system which is based on motion detection. I'm using a web camera in order to capture the images sequently and let them to process for further checking to see the difference.
first of all i want to know, is this possible in vb.net (image processing)? if it is possible, please give me some ideas about this to start.i have a brief imagination about the structure but i'm not sure about the success
how to incorporate a PIC with VB.
I`m trying to find out the steps needed to achieve that, i`m i correct?
1) i need to find a PIC that is suitable for my project (to handle wireless motion sensors)?
2) I need to write the code for the PIC? (does the manufacture of the PIC provides an environment to write the assembly language?)
3) Then i need to write the vb code?
4) Finally to use a serial port to create a communication between VB and PIC. Also are their any all ready made PIC`s that can support VB code direct without the need of writing the assembly code?
im using visual studio 2008 for my thesis. i have this mdi parent form as a container in my program and buttons in it to show different childforms. i am just wondering is it possible to show the childforms in slow motion manner, from left of the container to the center?
[Code]...
VS 2008 form.show in slow motion
View 4 RepliesI'm making a game where the main character is a white blood cell. Right now I have a circle. 360 points. I want my character to squish against walls, jiggle while moving, etc... but I'm just at a loss as to how to even start doing this. What's the best way to implement that kind of 2-d physics?
View 4 RepliesI made a Vista Aero -style form for XP, but when using it, the application won't close. The FormClosed and Disposed events fire, but not the HandleDestroyed event. I tried to get around that by handling the Disposed event and calling Me.DestroyHandle(), and it worked, but not if the user resized the form so that it caused an IndexOutOfRangeException in BlurImage().The code is attached.
View 2 RepliesI have created an app using Visual Studio 2010. This app wont work with Win XP or earlier. So how to detect the installed OS?
View 2 Replies