10-04-2011 10:30 AM - edited 10-04-2011 10:32 AM
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
10-05-2011 03:46 PM
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.
10-07-2011 12:15 PM
Thank you very much.. this is very helpful..
Just a basic question, how can i increase the ROI width and height?
10-10-2011 11:17 AM
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.