Motion tracking webcam software?

AI Thread Summary
The discussion centers on the need for an object tracking solution for a ballistics project, specifically to track a specific object like a bright red ball using webcams. The user seeks to determine the object's location on screen and maintain tracking while tilting and panning the cameras. Initial attempts with webcam motion detection software proved ineffective, particularly in low-light conditions, leading to concerns about accuracy and range. Alternatives considered include using ultrasound technology, though cost is a factor. The user also contemplates measuring distance based on the size of the object. A potential solution involves using OpenCV, a library for object recognition and tracking, although it requires a powerful computer for effective implementation. The user plans to improve lighting conditions and is considering developing a simple program to control the webcams for better tracking.
Ackmey
Messages
2
Reaction score
0
Heya

Not motion detection - I need something that can track a specific object; ideally locate where on the screen it's situated, and even more ideally, be able to tilt and pan without losing track of the object.

This is for a ballistics project, I'm planning on using two webcams in tandem to triangulate a distance... will this be terribly inefficient, and are there other options? Ultrasound would be nice but probably costly, so I'm not sure... I'm also thinking it may be possible to measure the distance of something like a bright red ball using its size; the bigger the closer.

Any help?

Also, scary number of subforums, wasn't too sure where to post... hope this isn't too far off. :P

Thanks!
 
Computer science news on Phys.org
Okay, so I realized the reason I couldn't find any decent software was that I was searching for "webcam motion detectors" rather than trackers. I tested out a few things, lots of fun but they lose accuracy after only a few meters. It may have to do with the lightning conditions (dark in here) but regardless, I don't have a lot of hope for this - I want to get the longest range I possibly can. So, for now disregarding webcams, does anyone have any other ideas for motion tracking - just object detection, really; being able to just recognize a green ball in an area would be great.

For now, I'm going to go try and light the room up more, I'm kind of limited by the fact that I'm on this pc though.

Thanks for any help. :)

EDIT: I'm thinking just writing a simple program, arrow keys to control webcam, center on an object, center other webcam on an object, and there you go.

Also, I know I'm basically just talking to myself, but see I got somewhere! ^^
 
Last edited:
OpenCV is the place to start, it's a collection of libraries, mostly in C++, for recognising and tracking objects. Be warned though, for this kind of thing you're generally going to need a fairly powerful machine for anything other than a proof of concept. I've managed to get my netbook (1.66GHz with a Gig of RAM) to recognise hand gestures, and track movements through the webcam, but it's not practical for anything other than showing off a bit.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top