I didn't say to go "hi-tech", these were the first things i thought of to have a "more automated solution"bitplane wrote:Well, I could get my PIC Micro programmer out and make a proper solution, capturing video frames by webcam or TWAIN source but that kinda defeats the whole purpose of a milk scanner being accessible to everyone (everyone who has access to a kitchen and a camera capable of doing video)
A laser scanner with turntable would be a better choice if I was going hi-tech, which I probably will one day but that's not exactly a Sunday afternoon project.
More automated-->more tecnological
accessible to everyone--->less tecnological---->less automatism
If you don't want to manually put the milk in the container you need something else to do it for you, obviusly your solution isn't perfect because, as you stated before, the volume of the object isn't costant for every "slice"--->you can't use a costant interval between your frames
--->you need to know when the surface of the milk in the container is at a certain height
----->(if you don't want to manually select the correct frames) the less Hi-tech thing to automate it with something you already have is to use the webcam checking for some sign on the container
The "pump/valve" thing is needed to momentarily stop the flow thus eliminating the surface bubbles if you don't want to add milk by hand
EDIT:
P.s. you can also slow down the flow of the milk to attenuate the bubbles, obviously it will take longer to scan the object