| JewishDan18 |
01-02-2012 01:35 |
Re: Calculating distance with an Axis Camera 206
Quote:
Originally Posted by dellagd
(Post 1116629)
Correct me if im wrong, but cant you use a exponential regression for the correlation from height of rectangle to distance away (at least it seems a exponential regression is the right way to go)
|
Sure you can, but you need to get a baseline to start from, which can be found by going through the trig for one image, or going to a field and finding it through measurements there.
Quote:
Originally Posted by caseydech
my team uses the axis camera to identify blobs (yes its the technical term for the... blobs that the camera picks up) And then finds the distance based on the pixel distance between top square and bottom square, angle uses trig and distance from side targets, labview can calculate the rest
|
Yeah, this is what I hope to do, since the error is much less than using a single target. But, if one target is not found, you will need to do the math without it, which makes things very interesting (and a whole lot of if-else, unless I find a more elegant way to do it)
|