Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Detect object and save object's image

Solved!
Go to solution

Hi,

I am trying to detect object and save image. However, the programming sometime can do as request and sometimes cannot. Do anyone know how to ensure this programming is stable? Attached is my programming. It using pixels to detect the object when it arrive at center.

0 Kudos
Message 1 of 13
(5,657 Views)
Alas I am still stuck with 8.0. can you post a screen shot too?
0 Kudos
Message 2 of 13
(5,650 Views)
attached as request
Download All
0 Kudos
Message 3 of 13
(5,631 Views)
Also post an image so that I can work on that in parallel.
0 Kudos
Message 4 of 13
(5,625 Views)

the.JPG

 

AS mentioned above attach an image so that i can work on that.

0 Kudos
Message 5 of 13
(5,623 Views)
The conveyer background is black in color..it is moving but required to save the image when the object pass the center of the camera as in attach's image..so how to implement the coding 'subtract pixel value = 0' or any idea...?
0 Kudos
Message 6 of 13
(5,612 Views)
I fell you are trying to complicate the processing. What do you get if you are going to eliminate the zeros? replace it with what? Try the attached vi. Works for both the objects with the same threshold value.
0 Kudos
Message 7 of 13
(5,610 Views)
And then use an imaq extract like this
0 Kudos
Message 8 of 13
(5,607 Views)
Hi Citrusgal, could you tell me what kind of camera are you using?  Thank you.
Impossible is nothing
0 Kudos
Message 9 of 13
(5,525 Views)
Basler..firewire camera.
0 Kudos
Message 10 of 13
(5,520 Views)