Automated Rheology Analysis via AI: Fluid Segmentation and Viscosity Estimation


Introduction

Understanding fluid rheology is critical for diverse applications, ranging from chemical manufacturing to biomedical research. Traditional rheological analysis methods are often labor-intensive, requiring sophisticated instruments and expert knowledge. This project aims to simplify and automate the identification of fluid rheology parameters, such as viscosity, using artificial intelligence (AI). By combining advances in computer vision and machine learning, this work seeks to provide chemists with a practical and efficient tool for analyzing liquid properties in a variety of settings.

Objective

Methodology

  1. Data Generation and Annotation: Creating and annotating video datasets to simulate diverse experimental setups.
  2. Segmentation Pipeline: Fine-tuning SAM 2.1 with advanced augmentations to ensure robust segmentation performance.
  3. Viscosity Prediction: Designing a regressor using ResNet18 and LSTM layers for temporal modeling, optimized with a mixed loss function.

Results


Visuals

Annotation Examples
Figure 1: Fluid mask annotations generated using Segment Anything Model.
Segmentation Example
Figure 2: Visualization of rotating vial for viscosity estimation.
Classification pipeline
Figure 3: Fluid Viscosity classification pipeline.

Contribution

My contributions include: