LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counting objects in a moving frame only one time.

Hello,
I am a little confused and need your help on how can I achieve the folowing task.
I have linescan camera for inspection. From the linescan camera I create a 2D Image for the inspection purposes.
The 2D image is constant eg 640x640 which means that each time I add a new line and remove an old one.
The problem is that when I locate an object once I want to measure it only once.
This object will appear as travelling in my 2d image, until is off the image but i want to be measured only once.
Any idea of how can I do this?
Thanks in advace for any help

Achille
0 Kudos
Message 1 of 2
(2,628 Views)

Hi achille,

i think if you detect the object the first time, you can store the position of it and calculate the expected position after moving the image. Because you know the flow direction it should be possible. Then if you get an object on the place calculated in the step before, you don´t count it.

Another way could be to get the first picture and count all relevant elements. After that you only view the new line(s) and count the new objects, or find out that this are pieces of an old one.

I would really like to help you in more detail, but in the moment i don´t know how.

Mike

0 Kudos
Message 2 of 2
(2,607 Views)