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.
 
Well, the date has now passed, and Windows 10 is no longer supported. Hopefully, the readers of this forum have done one of the many ways this issue can be handled. If not, do a YouTube search and a smorgasbord of solutions will be returned. What I want to mention is that I chose to use a debloated Windows from a debloater. There are many available options, e.g., Chris Titus Utilities (I used a product called Velotic, which also features AI to prevent your computer from overheating etc...
Back
Top