1. A method for adjusting a flow rate of a fluid line, the method comprising: capturing an image of a drip chamber using an image sensor, wherein the image includes a view of a background pattern disposed behind the drip chamber; comparing the image of the drip chamber with a background image; and adjusting a flow rate of fluid flowing through the fluid line in accordance with the comparison between the image of the drip chamber and the background image.