Anyone use computer vision software for volume calculation? - Home Brew Forums
Register Now For Free!

Home Brew Forums > Home Brewing Beer > Automated Brewing Forum > Anyone use computer vision software for volume calculation?

Reply
 
Thread Tools
Old 01-18-2013, 06:04 PM   #1
infinityedge
Recipes 
 
Dec 2012
Posts: 4
Liked 5 Times on 1 Posts



Something along these lines:

http://www.google.com/url?sa=t&rct=j...41248874,d.cGE

http://www.sciencedirect.com/science...67066109002329

Basically, face a webcam at the sight glass then use OpenCV to determine where the edge is between liquid and air, then calculate the volume based off of the calibrated pixel location of the interface.

Seems like a fairly straight forward, no touch way to calculate volume with a fairly low cost if you are already using some sort of computer to automate things.

 
Reply With Quote
Old 01-18-2013, 11:34 PM   #2
theonetrueruss
Senior Member
HBT_SUPPORTER.png
 
theonetrueruss's Avatar
Recipes 
 
Oct 2010
Woodstock, GA
Posts: 859
Liked 50 Times on 36 Posts


should be doable. There are probably a number of ways you could solve it with OpenCV.. line detection sounds like a good choice. I haven't played with the line detection but the other parts that I have used (mostly face detection) were pretty easy to work with. Great library. Good luck!
__________________
TheOneTrueRuss
Fat Messiah Brewing

 
Reply With Quote
Old 01-20-2013, 02:41 PM   #3
alien
Recipes 
 
Apr 2012
Philadelphia, PA
Posts: 1,235
Liked 68 Times on 59 Posts


A coloured float in the sight glass might help if you go this route.

 
Reply With Quote
Old 01-20-2013, 05:08 PM   #4
infinityedge
Recipes 
 
Dec 2012
Posts: 4
Liked 5 Times on 1 Posts


Quote:
Originally Posted by alien View Post
A coloured float in the sight glass might help if you go this route.
If one was willing to use a float, you could wrap IR reflective tape (or paint) around a cylindrical float and use a Wiimote to calculate the position change:

http://arstechnica.com/science/2010/...e-evaporation/

http://onlinelibrary.wiley.com/doi/1...09350/abstract

Wiimotes are pretty easy to interface with. The camera outputs the position the top 4 brightest IR points at 1024x768 resolution. Provided the heat source doesn't overpower the sensor, it might be possible to get the sight glasses of three keggles in a single level arrangement covered by one wiimote.

That might be just as cheap and easier than the OpenCV route.... hmmm....

 
Reply With Quote
Reply
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keg-O-Vision The_Dog_42 Kegerators & Keezers 110 08-01-2013 01:37 AM
Water volume calculation newbie question CopperBeechBrew Beginners Beer Brewing Forum 4 11-12-2012 02:32 PM
Cooling Loss in water volume calculation mgarofan All Grain & Partial Mash Brewing 2 10-03-2011 11:06 AM
Computer Backup software Parker36 General Chit Chat 5 01-03-2009 05:10 PM
New computer software rec's Fenster General Chit Chat 6 10-19-2007 11:28 AM


Forum Jump