Track An Object With A Webcam?
May 7, 2011how to track an object such as your eyes or a red ball with VB.NET using a webcam or some other video device. I know I have seen a guide to do this, but I can no longer find it.
View 1 Replieshow to track an object such as your eyes or a red ball with VB.NET using a webcam or some other video device. I know I have seen a guide to do this, but I can no longer find it.
View 1 RepliesHow Do I Track An Object With A Webcam?
View 2 RepliesI am making a webcam capture application, but when I run it, I get the "Object reference not set to an instance of an object" It shows no errors during debugging, Option strict is set to ON, but I have no clue where the error is, and how to fix it.
View 1 RepliesI can define a NEW sub that runs when an object is instantiated. What is the correct sub to call when it is disposed? I would think a method named dispose, but I seem to remember somewhere that there is a better choice than dispose.
Why do I care? I want to be able to track when a given object is released.
With a form, I can use formClosing, but what about a simple class definition?
how I would know what to search for to have found it without bugging any of you? everything I tried resulted in way too many hits that had nothing to do with VB or what I wanted to achieve.
I'm working on a small project, and ran into an issue. I'm creating new picture boxes on a form to represent a control. My question is how would I code a click event for an object that isn't on the forum initially? Also, how can I keep track of which object is assigned to which data in an array? (IE picturebox 0 is array(0) of data)
View 7 RepliesI am making a webcam capture program in vb.net to scan qr codes. I found some examples that show tracking a certain color, but that wont work because the qr codes have different colors. some are red, blue, purple, black, and green. I am using the touchless sdk to capture the video. How would I go about tracking the person's hand holding a 1"x1" cube? I am trying to reduce the "background noise" that the scanner has to try to read through.
View 1 RepliesI am writing a class library to interact with a domain Active Directory. In my object model, I have the following:
Domain;
Organizational Unit;
Group;
User.
In my Domain object, I have an Entries property and an Add() method.
public class Domain {
// The ReadOnlyDictionary<TKey, TValue> is a custom wrapper over an IDictionary.
public ReadOnlyDictionary<string, IDirectoryEntry> Entries { get; }
public void Add(IDirectoryEntry entry) {
Entries.Add(entry.Name, entry);
[Code] .....
For your information, I implemented the INotifyPropertyChanged interface to ease my life, but I don't seem to find a way to make it work the way I want. Perhaps am I not doing things right somehow, as for the location of different methods, I don't know. How can I make my Domain aware of a change that occured within one of its Entries, so that the TKey value is also changed? That is wanted because one could possibly add an entry, change its name meanwhile adding a new entry with the "old" name of the actual within entry, and cause a conflict, etc. In the end, causing the test to fail. But I'd like to make it pass like it actually is. Is there another better approach or workaround?
I 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?
Before anyone tries to close this thread thinking this is for malicous purposes, let me tell you that it's not. What i'm working on is an application to save screenshots to files as soon as the 'Print Screen' key is pressed, as Jpegs or what ever. What i want to do is be able to minimize the application and I still want the application pick up on any 'Print Screen' presses, and save the screenshots. I've tried using the KeyPress event, but I soon realized that it only worked when the application had focus. I plan on using it to save screenshots every time I press 'Print Screen'
View 2 Replieshow can i import more than one track?
it only allows me to add one at a time, whole folders wouyld also be helpfulll
i wonder is someone called trujade will answer me :P or somone else...I like.....
Understandable Answers
1 2 3 4 5
- - - - - Rate yourself And Have A Kitkat
5 5 5 5 5
want to make a program to keep track of my emails sent in Outlook. I want to know what email I read (the email title and the email sender name) and what email I sent (the email title and also the name of the recipents) at the end of the day. Is that possible to do that?
View 2 RepliesAnyone ever set anything up to keep track of inventory?I need to check 1 time a month:
-Printers
-Barcode scanners
-labels
Am I just best to use Excel or is there better options?I need to keep track of repairs, part replacements, and orders.
i came a across a forum. it states the use of progress bar as track bar but that's after using mouse
Private Sub ProgressBar1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles ProgressBar1.MouseMove but i wanted to have it in click eventi.e.Private Sub ProgressBar1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ProgressBar1.Click
Is there a way to track all url's that browsers are going to?
View 3 RepliesI want to fetch client's ip address as soon as he accesses my web-site built in silverlight application. Is there any method to achieve this target in silverlight application?
View 4 RepliesI am somewhat new to object oriented programming and am attempting to flatten a Linq object hierarchy by using a shim class.how to initalize a derived class with property values from a base class?I have two objects, a base object with about 100 properties, and a derived object which inherits from the base object and adds a few additional properties beyond those of the base object. My simple constructor creates the derived object, but I am looking for a way to initialize the derived object properties with values from the base object.Right now I am using reflection to iterate over the properties individually and I suspect there may be a better way. The following example shows my shim class constructor for the derived class, and two properties:
newProperty1 - a new string property of the derived class
flattenedProperty2 - a new string property of the derived class, copied from a 2nd-level object of the base class
Code example:
Public Class derivedObj
Inherits baseObj
Private _newProperty1 As String[code].......
Is this the correct constructor approach to flatten the object hierarchy using a shim class? My second question relates to initialization of properties in the derived class. The constructor above creates the derived object, but what is the best way to initialize the derived object properties with values from the base object? The following code uses reflection to iterate over the properties individually, but I suspect there may be a better way.
Code example:
' property names are in the string array fieldNames
'baseObjQuery is an ienumerable of baseObj
'derivedObjList is a list of derivedObj[code].....
Is there a simple way to initialize values for the properties in the derived object based upon the values of the common properties in the base object?
I want to capture a still picture in any format like .png,.jpg,.bmp etc. using a webcam.And want to save that in directory.
View 3 RepliesI would like to connect a webcam to vb6.0 or to vb.net and wolud like to take a photograph which is then to be stored in access / sql database.
View 1 RepliesI use VS2008 with Visual Basic and VB.Net. I am writing an application to save videos from a webcam, and I've found several examples that provide the basic functionality, so that I can now start and stop the webcam, and save a video as a .avi file. However my interface is still clunky: when video capture starts following
SendMessage(hWnd, WM_CAP_SEQUENCE, 0, 0)
then the window is locked and the [Stop Capture] button doesn't function, so I need to exit the window to stop capture.The documentation at Video Capture [URL] has a lot of methods that look useful, and I think that I need to link up a callback function to allow [Stop Capture] to function, but I can't figure out from this documentation how to send a WM_CAP_SET_CALLBACK_VIDEOSTREAM message to do this. I don't know how to control the formats so that I generate video files that are concise enough for web use - changing the frame rate or dimensions seems to have absolutely no effect Is there any general tutorial that will cover all of the messages in AVICAP32.dll, and show me how to implement them in VB?
How can I have my VB.net application take a picture of me from my webcam? Nothing too complicated,
View 2 RepliesI'm trying to take a picture from my webcam when the user clicks a button on a Form on a Windows XP Machine.
I tried going through several threads, but couldn't find the solution I was looking for. Most of the threads involved matters (and code) too complex for my requirements, or had bugs when I reproduced the code in my editor window which I was unable to resolve due to my lack of knowledge in I/O related programming.
So far the simplest solution I could find was this one:[URl]...but after using his solution in my editor, it says 'type WIA is not defined', despite adding a reference to Microsoft Windows Image Acquisition 1.01 Type Library.
how to use webcam in a form in vb.net, pls provide me the sufficient information
View 1 RepliesI wrote some software that use the AVICAP32.dll to do a spot of video capture.All was going well till they went and bought a laptop with a built in webcam.Now my software picks one a random and uses that for the video (somewhat annoying to say the least) Can anyone tell me how to pick a camera to use,I suspect it is related to DVM_DIALOG but my experiments have not been too successful.
View 1 RepliesI have to develop an application where I have to stream my webcam over lan. I have a server where my webcam will be connected and when requested I have to send my webcam over lan. i need to view the server webcam from another network pc.
View 4 RepliesI need to capture image from WebCam in my .NET application which should work on both Win XP & Vista. While creating this thread, the forums suggested me 3 links that were helpful. I though I got the answer from one of them, but it worked spcifically on Win XP, not Vista.
I jus tneed to capture an image from the WebCam, rest all processing of the would be handled by my .NET code.
I am playing around with using a webcam in a program to have the program automatically target key things within the webcams frame. I was just wondering how I would go about getting the webcam to be "used" within the program.
View 25 RepliesSo basicly ive made a media player in vb using the windows media player control and everything is fine except that when i use the trackbar to navigate on a video it starts stopping and starting like a scratched cd (there is nothing wrong with the video file) strangely this does not happen whilst playing audio files the shaking stops if i pause it for a second ant then play it again but incorporating a pause in the trackbar function does not help. This the code i found on the internet but this produces the same result:[code]...
im just about to start a project for college and i have to make a multi track recorder , basically a recorder that records up to 16 wav tracks and plays them back simultaneously . It must have thye ability to change the input, input level, volume levels Panning etc.
Its a large request i know but i really need some ive only had 1 year of basic vb.net programming, i know a small amount about WPF.Oh and also it will be VERY Graophically rich and will look like a mixing desk so any extra requirements i will need to use images as sliders etc?
Im working on a Music player. I need only 2 more things in it but i cant figurate 'em out. i use a LISTBOX for the playlist. I want to add a trackbar that follows the music and i can track with it (like every music palyer). The second thing is i want the palyer to start the selected file if i duble-click on it in the playlist. [code]
View 7 RepliesWhat is the code to add an audio track to play?
I need the file to play after a letter has been pressed so will be in the keypress function