Plant phenotyping: from bean weighing to image analysis