Using imaging and machine learning tools to analyse features of plant leaves