Automated analysis of evolving interfaces during in situ electron microscopy