Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

sir i am using machine vision labview. i want to find usb running camera image x,y coordinate. then i have send that coordinate into microcontroller via labview serial port. please help me?

sir i am using machine vision labview. i want to find usb running camera image x,y coordinate.

0 Kudos
Message 1 of 8
(5,691 Views)

Hello,

 

you are being a bit unclear about what you are trying to achieve. X, Y coordinates of what object are you trying to find? There are a lot of ways to extract the coordinates but you need to specify what properties of your object are you trying to measure (mass center, edge location, etc...)? And perhaps post a sample picture to be even clearer.

 

Use serial communication to send bytes to your uC. Here is an example (post #10):

 

http://forums.ni.com/t5/Machine-Vision/eye-controlled-wheelchair/td-p/2651903

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
Message 2 of 8
(5,685 Views)

i am doing labview machine vision based robotic arm control for pick and place application. i want know the image x,y coordinate in running camera..give me solution please.

0 Kudos
Message 3 of 8
(5,670 Views)

Hi Sekar91

 

You have working pattern matching code right for the still image?. If so, add the camera acqusition part -> Put a while loop for contionus acqusition -> Match the pattern. It will give you the expected result.

---
Silver_Shaper | CLD
0 Kudos
Message 4 of 8
(5,665 Views)

k. thank you sir.. how i will find image x,y coordinate. which function i use to find image x,y coordinate?.

0 Kudos
Message 5 of 8
(5,649 Views)

Almost all the vision functions in LabVIEW give you the x,y co-ordinates. 

 

As seen from your image. Go with the binary processing -> Get the centroid of the image using particle analysis. Example is here http://www.ni.com/example/30629/en/ 

---
Silver_Shaper | CLD
0 Kudos
Message 6 of 8
(5,642 Views)

Hello,

 

like Silver_Shaper said, there are a lot of functions in NI Vision that return the coordinates of the measured property. You have quite a few examples under the Help -> Find Examples section (from pattern matching to edge detection and binary analysis, etc...).

 

Does your surface always reflect so much light? In all positions? Are you using frontal illumination?

And also, how did you obtain the x,y coordinate in centimeters? You need to calibrate your system in order to do this. Also, if the distance from the camera to the object changes, your measurements will not be valid anymore.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 7 of 8
(5,637 Views)

sir i am using LabVIEW image

image processing machine vision 
software.. i am using Easy cap 
USB 2.0 wireless camera.. 
camera device driver is not support 
measurement and automation 
explorer... what is problem? give 
me solution sir...

0 Kudos
Message 8 of 8
(5,622 Views)