Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Water level indicator

I had this idea for my class project I would like to know if its possible in any manner

 

its like this, there is a glass in front of the camera, and labview has a indicator(say tank). As soon as we start filling the glass, LabVIEW sense the change in glass level via live feed, and updates the tanks level in the VI.

 

can anyone guide me one sensing part ?

 

Thankyou 

 

 

 

 

 

 

 

 

0 Kudos
Message 1 of 4
(4,862 Views)

You could accomplish this in a number of ways. I used a simple edge detection step in Vision Assistant, and then converted that script to VI. You can use the output of the find straight edge to get the y-coordinates of the straight edge and output that to your tank indicator. In order to run the example, all you should need to do is point the VI at the fish bowl picture I have included in the zip file. If you have any questions, please let me know.

John B.
Embedded Networks R&D
National Instruments
Certified LabVIEW Developer
0 Kudos
Message 2 of 4
(4,841 Views)

Thank you very much..  this is very helpful..

 

Just a basic question, how can i increase the ROI width and height? 

 

 

0 Kudos
Message 3 of 4
(4,832 Views)

I defined the ROI in my Vision Assistant script. All you should need to do is grab a picture from your camera and define the ROI as the entire range of where your water level can be. You can define the ROI by dragging a box in the Vision Assistant, or you can do it programmatically.

John B.
Embedded Networks R&D
National Instruments
Certified LabVIEW Developer
0 Kudos
Message 4 of 4
(4,822 Views)