|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Calculating distance with an Axis Camera 206
With any vision system, you could fill in the area of the "square" target that is found with the "edge detection". This way you get a solid square.
Once you have a soild square, now run an "area detection" of the square. This will get you a size. The bigger the area, the closer you are. The smaller the area, the further away you are. |
|
#2
|
|||||
|
|||||
|
Re: Calculating distance with an Axis Camera 206
Quote:
Citrus, what algorithm are you using to compute distance? |
|
#3
|
||||
|
||||
|
Re: Calculating distance with an Axis Camera 206
Quote:
And I'm one of those NEMs (Non-engineering Mentors) so the math escapes me completely here. |
|
#4
|
|||
|
|||
|
Re: Calculating distance with an Axis Camera 206
Can someone please post the documentation for detecting the squares and tracking them? I can't seem to find the PDF's or tutorials.
Thanks, Eagle Engineering 1138 |
|
#5
|
||||
|
||||
|
Re: Calculating distance with an Axis Camera 206
Quote:
|
|
#6
|
|||
|
|||
|
Re: Calculating distance with an Axis Camera 206
We are using the height of the target and comparing it to the height of the camera image.
|
|
#7
|
|||||
|
|||||
|
Re: Calculating distance with an Axis Camera 206
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)
|
|
#8
|
|||
|
|||
|
Re: Calculating distance with an Axis Camera 206
Does OpenCV have a program that will spit out code for you similar to what the NI Vision Assistant program does? It seems like using OpenCV will be easier for my team to implement our rectangle tracking with if it does, as we are having some trouble understanding the code that is spit out by Vision Assistant.
|
|
#9
|
|||
|
|||
|
Re: Calculating distance with an Axis Camera 206
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
|
|
#10
|
|||
|
|||
|
Re: Calculating distance with an Axis Camera 206
I have seen a lot of people over look this in past year. Make sure you are converting it to foot and inches or whatever you desire as 1' would be 1.2 as a double.
|
|
#11
|
||||
|
||||
|
Re: Calculating distance with an Axis Camera 206
Quote:
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|