Application of MOG Background Subtraction Algorithm in Automatic Measurement of Contact Angle