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; subtracting the image from a background image to thereby generate a difference image; converting each pixel of the difference image to a first value where an absolute value of a respective pixel is beyond a predetermined threshold or to a second value where the absolute value of the respective pixel is less than the predetermined threshold to generate a converted difference image; summing each row of the converted difference image to generate a plurality of summation values, wherein each summation value of the plurality of summation values corresponds to a respective row of the converted difference image; examining a plurality of contiguous summation values within the plurality of summation values; and adjusting a flow rate of fluid flowing through the fluid line in accordance with the examination of the plurality of contiguous summation values.