Leveraging open-source AI platforms, this technology enables automated image-based detection, prediction, and control of microfluidic single bubble/droplet formation.