This invention is a dual function tree pruner and fruit harvester that use the same equipment for pruning and for harvesting. The Fruit Tree Pruner and Harvesting Machine features: a Self-Propelled-Vehicle (SPV), computer controlled robotic arms, a Digital Imaging System (DIS), a Radar RangerSystem (RRS), Global Positioning Satellite (GPS) Guidance System, Geographic Information System (GIS), a Power Pruner or Power Stem Cutter as appropriate, a fruit vacuum system, a fruit catcher, a fruit handling system, and a fruit bin loader. The operation is automated and the operator monitors and sets parameters. The Fruit Tree Pruner and Harvesting Machine can prune a tree to a predetermined profile. The tree can be shaped per the orchards requirements. The invention utilizes data obtained during the pruning process to find the fruit, and to remove the fruit while maintaining the fruit quality suitable for the fresh market.