Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with my Camera!

I have an instrumentation project due tomorrow and I am stuck with camera vi

please can you help solve my problem.

I tried different image types but nothing worked.

Im attaching the vi, i want to measure the area of an object+ dimensions

Im getting an error due to image type problems (although im changing the type)

thank you

 

0 Kudos
Message 1 of 11
(3,639 Views)

Try to use IMAQ Extract Color Planes (with HSL Color Mode, then use Hue plane) instead of IMAQ Cast Image.

 

Andrey.

Message 2 of 11
(3,639 Views)

Hello Andrey Dmitriev,

Ou minya ni paloshayetsa Cameara vi

I dont think I hae connected the right outputs

Can you show me the how to connect IMAQ Extract Color Planes ?

Thank you

0 Kudos
Message 3 of 11
(3,636 Views)

Try in that way:

 

Inten.png

Message 4 of 11
(3,633 Views)

Dmitriev, What else should i change?
For the Intesity Plane, I created a constant and named it that way.
What happens to the upper code?
Do i remove it?
Thanks

0 Kudos
Message 5 of 11
(3,631 Views)

I still receiving the error; but this time not an image.

Thanks

0 Kudos
Message 6 of 11
(3,624 Views)

@Abook7 wrote:

I still receiving the error; but this time not an image.

 



It happened because you have connected to output "Red or Hue Plane out", but shoud use output "Blue or Luma or Val or Inten Plane out" instead.

 

 

Message 7 of 11
(3,618 Views)

What Camera do you have?

Can you grab a picture from MAX?

 

kind regards,

Ion R.

Message 8 of 11
(3,601 Views)

Andrey, it worked without crashing.

The project was postponed 1 week 🙂

It gives a reading area, number of objects, and ratio of length and width.

But the number of objects it is giving changes continously when i place the camera infront 1 10x10 object.

How can I solve this problem?

About the area, how can i change the units to show mm^2

I placed the indicator for the image out but it does not show.

ion.rosca I have a USB camera that grabs an image continously(more like a video)

I am uploading the recent vi, how can i solve the other problems?

Thank you

0 Kudos
Message 9 of 11
(3,595 Views)

Andrey, Do you know how to change the dimensions to mm^2?( what are the current dimensions?)

and how to see image out?

can I see what are the objects its identifing?

0 Kudos
Message 10 of 11
(3,574 Views)