An automatic computer vision pipeline for the in-line monitoring of freeze-drying processes