Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Line following using vision

Hi guy ...
How can I follow a line using Vision and obtain reports for sending them to somewhere ?
For example a black line in the white color area.
What is the best method ?

Any help would be greatly appreciated.

Thanks in advance!
0 Kudos
Message 1 of 7
(7,151 Views)
Do you mean overlay? You can use overlay line.
0 Kudos
Message 2 of 7
(7,139 Views)
overlay ?
No. I want to track a black line in my picture. "line tracking"
plaese see the attachment ...
What is the best method ? Color matching ? Edge detection ? Template matching ?! ....
I don't have any idea.
Thanks

0 Kudos
Message 3 of 7
(7,124 Views)

The easiest way in your case probably: Threshold->Skeleton->Extract coordinates (with MaskToROI, for example), something like that:

 

tracking_screenshot.png 

 

VI in attachment.

 

Andrey.

Message 4 of 7
(7,112 Views)
Hi Andrey ...
Can you explain program further more ? (specially inside While Loop)
Can we use Vision Assistant instead of using IMAQ VIs ?
Which is better ?
Which perform faster (execution time) ?
Please explain your experiments.
Thanks in advance ... 
Message 5 of 7
(7,082 Views)

mostafi wrote:
Can you explain program further more ? (specially inside While Loop)


Inside of while loop: calculation of bounding box (+- 10 pixels around point), then draw circle for visualization of the tracked line. Follow the line

point by point

 


mostafi wrote:
Can we use Vision Assistant instead of using IMAQ VIs ?
Which is better ?

Using Vision Assistant will be quite complicated, because you will be unable to get all coordinates from the particle easily. Otherwise you can do it probably with your own VI. You can't compare LabVIEW with Vision Assistant - they are completely different.

 


mostafi wrote:
Which perform faster (execution time) ?

Because Vision Assistant based on the same vision libraries - they absolutely equal from performance point of view.

 


mostafi wrote:
Please explain your experiments.

Hmm, I guess, the given example wasn't soo complicated...

 

Below explanation:

 

expl.png

 

Sorry, can't explain more detailed...

 

Andrey.

 

Message 6 of 7
(7,079 Views)

Hi!

 

Good idea for solving this mentioned problem!

Do you have maybe any idea how could we set a starting point where alghorithem would start with moving along the line.

 

Best regards.

0 Kudos
Message 7 of 7
(5,414 Views)