Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   tracking multi targets question (http://www.chiefdelphi.com/forums/showthread.php?t=51734)

cgront 13-01-2007 13:06

tracking multi targets question
 
does any one have any suggestions for tracking two targets using the mplab code?

Mike 13-01-2007 15:12

Re: tracking multi targets question
 
Quote:

Originally Posted by cgront (Post 555687)
does any one have any suggestions for tracking two targets using the mplab code?

Short of doing image analysis on a returned image, I'm not sure that its possible hardware wise.

bobmonkey836 13-01-2007 15:34

Re: tracking multi targets question
 
what are the targets? it may be possible, but the code may take up too much space.

JSonntag 13-01-2007 17:39

Re: tracking multi targets question
 
The camera's hardware is only capable of tracking one target at a time. But if there are two targets in its field of view, it will perform the equivalent of drawing a "box" around both of the targets and tracking the center of that "box". The robot can determine the number of targets it is tracking based on the size of that "box."

EHaskins 13-01-2007 18:56

Re: tracking multi targets question
 
Read this thread: http://www.chiefdelphi.com/forums/sh...ad.php?t=51048

JakeC 13-01-2007 19:01

Re: tracking multi targets question
 
Quote:
The camera's hardware is only capable of tracking one target at a time. But if there are two targets in its field of view, it will perform the equivalent of drawing a "box" around both of the targets and tracking the center of that "box". The robot can determine the number of targets it is tracking based on the size of that "box."

Basically, you can tell how many targets there is by the number of pixels your camera counts, distance also affects this factor.

Matt Krass 13-01-2007 19:22

Re: tracking multi targets question
 
Quote:

Originally Posted by JakeC (Post 556010)
Quote:
The camera's hardware is only capable of tracking one target at a time. But if there are two targets in its field of view, it will perform the equivalent of drawing a "box" around both of the targets and tracking the center of that "box". The robot can determine the number of targets it is tracking based on the size of that "box."

Basically, you can tell how many targets there is by the number of pixels your camera counts, distance also affects this factor.

True, but distance would affect height and width of the box, whereas I believe two targets only primarily affects the width, so I think you could probably compensate for it fairly effectively with some basic math.

efoote868 13-01-2007 21:46

Re: tracking multi targets question
 
check out the video on kevin.org. It is very informative, and explains alot.


All times are GMT -5. The time now is 01:28.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi