Text this: Real-time detection and characterization of trunks and upright branches of pear trees for automatic dormant pruning.