![]() |
Blob Size
I was wondering if it would be possible to know how far away the goal is by the blob size alone...is this possible? You'd think it would be as long as you know the actual size of the object you are tracking.
|
Re: Blob Size
The main difficulty with that is that the blob will appear smaller if you are looking at it from an angle...
|
Re: Blob Size
Quote:
Anyway, a better way might be to determine the height of the blob using y1 and y2 because the height won't vary much. -Kevin |
Re: Blob Size
Quote:
|
Re: Blob Size
If you need a distance estimation I would recommend using the tilt values of the servos and the y coordinates of the blob. Confidence also decreases at large distances.
|
Re: Blob Size
well I was just wondering because the team wants to fix the camera to our shooter, so it would be driven by a motor and two things would be changed at once... I was also thinking of keeping track with a sensor, and doing some conversion of teeth to angle... just exploring all the options, and this one just poped up, but it seems it is too unstable so any more ideas, or would the sensor be the best bet? Thanks
|
Re: Blob Size
Heres what I would suggest. If you have to, you can still use the fixed mount to determine distance. I believe that there is a way to "shift" where the camera's center is (Maybe its shifting the centroid of the blob). In other words, you can have the camera pointing slightly offset of the target, yet still have it return center values.
So, have a routine that slaves the turret to the camera, until it finds the target. Upon finding the target, use the values to determine distance. Then, move the camera center values accordingly in order to correctly angle your shooter, if necessary. After that, unless it loses the target, you can subtract the current offset of the camera to determine current distance, and accordingly re-adjust the camera center to place your shooter "on zero". I'm sure there is a more elegant solution, but perhaps this can be a place to start. EDIT---------------------------------------- Post number 600! |
Re: Blob Size
well that is another way I didn't think of, thanks for the idea.
|
| All times are GMT -5. The time now is 12:31. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi