An image analysis-based method for automatic data extraction from pilot draining experiments. (16th March 2021)