LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

finding circles problem

Hello,

 

I have a usb camera connected and I want to detect circles on images.

My code is very simple (see attachment).

 

First, I convert my RGB to Grayscale and then apply  "IMAQ Find circles VI"

but even in very simple cases, it finds 0 circle.

 

Can someone help me ?

Thanks

Youm

Download All
0 Kudos
Message 1 of 5
(3,173 Views)

A code snippet rather than an image would help you get an answer quicker. 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 5
(3,141 Views)

here is the code.

Thanks

0 Kudos
Message 3 of 5
(3,125 Views)

Hello youm,

 

Thank you for posting on National Instruments' forum.

 

I think this link could help you in using circle data in output of the IMAQ Find Circles VI : here

 

However, put the IMAQ Create in your loop and use IMAQ Dispose afterwards (like the example).

Romain P.
National Instruments France

0 Kudos
Message 4 of 5
(3,079 Views)

Exactly what I was looking for ! Thanks.

0 Kudos
Message 5 of 5
(3,061 Views)