Liquid analysis using a high resolution CCD/CMOS image sensor that detects turbidity changes in fluids by measuring the transmittance of light. Using advanced software algorithms the system automatically removes gas bubbles from the analysis resulting in highly accurate and repeatable data outputs. This system is designed for inline use with varying pressures, temperatures, and pipe diameters.